io.burkard.cdk.NestedStackProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object NestedStackProps {
def apply(
description: Option[String] = None,
notificationArns: Option[List[String]] = None,
timeout: Option[software.amazon.awscdk.Duration] = None,
parameters: Option[Map[String, String]] = None,
removalPolicy: Option[software.amazon.awscdk.RemovalPolicy] = None
): software.amazon.awscdk.NestedStackProps =
(new software.amazon.awscdk.NestedStackProps.Builder)
.description(description.orNull)
.notificationArns(notificationArns.map(_.asJava).orNull)
.timeout(timeout.orNull)
.parameters(parameters.map(_.asJava).orNull)
.removalPolicy(removalPolicy.orNull)
.build()
}