All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.waf.cfnWebACL.ActivatedRuleProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.waf.cfnWebACL

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ActivatedRuleProperty {

  def apply(
    priority: Number,
    ruleId: String,
    action: Option[software.amazon.awscdk.services.waf.CfnWebACL.WafActionProperty] = None
  ): software.amazon.awscdk.services.waf.CfnWebACL.ActivatedRuleProperty =
    (new software.amazon.awscdk.services.waf.CfnWebACL.ActivatedRuleProperty.Builder)
      .priority(priority)
      .ruleId(ruleId)
      .action(action.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy