All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.cloudformation.AutoDeploymentProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.cloudformation

@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.services.cloudformation.CfnStackSet.AutoDeploymentProperty =
    (new software.amazon.awscdk.services.cloudformation.CfnStackSet.AutoDeploymentProperty.Builder)
      .enabled(enabled.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
      .retainStacksOnAccountRemoval(retainStacksOnAccountRemoval.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy