io.burkard.cdk.cfnStackSet.AutoDeploymentProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.cfnStackSet
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object AutoDeploymentProperty {
def apply(
enabled: Option[Boolean] = None,
retainStacksOnAccountRemoval: Option[Boolean] = None
): software.amazon.awscdk.CfnStackSet.AutoDeploymentProperty =
(new software.amazon.awscdk.CfnStackSet.AutoDeploymentProperty.Builder)
.enabled(enabled.map(Boolean.box).orNull)
.retainStacksOnAccountRemoval(retainStacksOnAccountRemoval.map(Boolean.box).orNull)
.build()
}