io.burkard.cdk.services.wafv2.cfnRuleGroup.XssMatchStatementProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.wafv2.cfnRuleGroup
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object XssMatchStatementProperty {
def apply(
textTransformations: List[_],
fieldToMatch: software.amazon.awscdk.services.wafv2.CfnRuleGroup.FieldToMatchProperty
): software.amazon.awscdk.services.wafv2.CfnRuleGroup.XssMatchStatementProperty =
(new software.amazon.awscdk.services.wafv2.CfnRuleGroup.XssMatchStatementProperty.Builder)
.textTransformations(textTransformations.asJava)
.fieldToMatch(fieldToMatch)
.build()
}