io.burkard.cdk.services.wafv2.cfnWebACL.DefaultActionProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.wafv2.cfnWebACL
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DefaultActionProperty {
def apply(
allow: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.AllowActionProperty] = None,
block: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.BlockActionProperty] = None
): software.amazon.awscdk.services.wafv2.CfnWebACL.DefaultActionProperty =
(new software.amazon.awscdk.services.wafv2.CfnWebACL.DefaultActionProperty.Builder)
.allow(allow.orNull)
.block(block.orNull)
.build()
}