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

com.pulumi.awsnative.wafv2.kotlin.outputs.RuleGroupRegexPatternSetReferenceStatement.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 arn The Amazon Resource Name (ARN) of the `RegexPatternSet` that this statement references.
 * @property fieldToMatch The part of the web request that you want AWS WAF to inspect.
 * @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 RuleGroupRegexPatternSetReferenceStatement(
    public val arn: String,
    public val fieldToMatch: RuleGroupFieldToMatch,
    public val textTransformations: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.RuleGroupRegexPatternSetReferenceStatement): RuleGroupRegexPatternSetReferenceStatement = RuleGroupRegexPatternSetReferenceStatement(
            arn = javaType.arn(),
            fieldToMatch = javaType.fieldToMatch().let({ args0 ->
                com.pulumi.awsnative.wafv2.kotlin.outputs.RuleGroupFieldToMatch.Companion.toKotlin(args0)
            }),
            textTransformations = javaType.textTransformations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.wafv2.kotlin.outputs.RuleGroupTextTransformation.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy