io.burkard.cdk.CfnRuleProps.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 CfnRuleProps {
def apply(
assertions: Option[List[_ <: software.amazon.awscdk.CfnRuleAssertion]] = None,
ruleCondition: Option[software.amazon.awscdk.ICfnConditionExpression] = None
): software.amazon.awscdk.CfnRuleProps =
(new software.amazon.awscdk.CfnRuleProps.Builder)
.assertions(assertions.map(_.asJava).orNull)
.ruleCondition(ruleCondition.orNull)
.build()
}