io.burkard.cdk.services.cloudformation.cfnStackSet.StackInstancesProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.cloudformation.cfnStackSet
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object StackInstancesProperty {
def apply(
regions: List[String],
deploymentTargets: software.amazon.awscdk.services.cloudformation.CfnStackSet.DeploymentTargetsProperty,
parameterOverrides: Option[List[_]] = None
): software.amazon.awscdk.services.cloudformation.CfnStackSet.StackInstancesProperty =
(new software.amazon.awscdk.services.cloudformation.CfnStackSet.StackInstancesProperty.Builder)
.regions(regions.asJava)
.deploymentTargets(deploymentTargets)
.parameterOverrides(parameterOverrides.map(_.asJava).orNull)
.build()
}