io.burkard.cdk.CfnResourceProps.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 CfnResourceProps {
def apply(
`type`: String,
properties: Option[Map[String, _]] = None
): software.amazon.awscdk.CfnResourceProps =
(new software.amazon.awscdk.CfnResourceProps.Builder)
.`type`(`type`)
.properties(properties.map(_.asJava).orNull)
.build()
}