io.burkard.cdk.CfnMappingProps.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 CfnMappingProps {
def apply(
mapping: Option[Map[String, _ <: Map[String, _]]] = None,
`lazy`: Option[Boolean] = None
): software.amazon.awscdk.CfnMappingProps =
(new software.amazon.awscdk.CfnMappingProps.Builder)
.mapping(mapping.map(_.mapValues(_.asJava).toMap.asJava).orNull)
.`lazy`(`lazy`.map(Boolean.box).orNull)
.build()
}