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

com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclTextTransformation.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@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)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy