![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclRegexMatchStatement.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.wafv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property fieldToMatch The part of the web request that you want AWS WAF to inspect.
* @property regexString The string representing the regular expression.
* @property textTransformations Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match.
*/
public data class WebAclRegexMatchStatement(
public val fieldToMatch: WebAclFieldToMatch,
public val regexString: String,
public val textTransformations: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.WebAclRegexMatchStatement): WebAclRegexMatchStatement = WebAclRegexMatchStatement(
fieldToMatch = javaType.fieldToMatch().let({ args0 ->
com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclFieldToMatch.Companion.toKotlin(args0)
}),
regexString = javaType.regexString(),
textTransformations = javaType.textTransformations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclTextTransformation.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy