io.burkard.cdk.cloudassembly.schema.BootstrapRole.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.cloudassembly.schema
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object BootstrapRole {
def apply(
arn: String,
assumeRoleExternalId: Option[String] = None,
requiresBootstrapStackVersion: Option[Number] = None,
bootstrapStackVersionSsmParameter: Option[String] = None
): software.amazon.awscdk.cloudassembly.schema.BootstrapRole =
(new software.amazon.awscdk.cloudassembly.schema.BootstrapRole.Builder)
.arn(arn)
.assumeRoleExternalId(assumeRoleExternalId.orNull)
.requiresBootstrapStackVersion(requiresBootstrapStackVersion.orNull)
.bootstrapStackVersionSsmParameter(bootstrapStackVersionSsmParameter.orNull)
.build()
}