com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclTextTransformation.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.wafv2.kotlin.outputs
import com.pulumi.awsnative.wafv2.kotlin.enums.WebAclTextTransformationType
import kotlin.Int
import kotlin.Suppress
/**
* Text Transformation on the Search String before match.
* @property priority Sets the relative processing order for multiple transformations. AWS WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different.
* @property type For detailed descriptions of each of the transformation types, see [Text transformations](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-transformation.html) in the *AWS WAF Developer Guide* .
*/
public data class WebAclTextTransformation(
public val priority: Int,
public val type: WebAclTextTransformationType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.WebAclTextTransformation): WebAclTextTransformation = WebAclTextTransformation(
priority = javaType.priority(),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.wafv2.kotlin.enums.WebAclTextTransformationType.Companion.toKotlin(args0)
}),
)
}
}