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

com.pulumi.awsnative.wafv2.kotlin.outputs.WebAclLabelMatchStatement.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.WebAclLabelMatchScope
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property key The string to match against. The setting you provide for this depends on the match statement's `Scope` setting:
 * - If the `Scope` indicates `LABEL` , then this specification must include the name and can include any number of preceding namespace specifications and prefix up to providing the fully qualified label name.
 * - If the `Scope` indicates `NAMESPACE` , then this specification can include any number of contiguous namespace strings, and can include the entire label namespace prefix from the rule group or web ACL where the label originates.
 * Labels are case sensitive and components of a label must be separated by colon, for example `NS1:NS2:name` .
 * @property scope Specify whether you want to match using the label name or just the namespace.
 */
public data class WebAclLabelMatchStatement(
    public val key: String,
    public val scope: WebAclLabelMatchScope,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.WebAclLabelMatchStatement): WebAclLabelMatchStatement = WebAclLabelMatchStatement(
            key = javaType.key(),
            scope = javaType.scope().let({ args0 ->
                com.pulumi.awsnative.wafv2.kotlin.enums.WebAclLabelMatchScope.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy