![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.aws.wafregional.kotlin.outputs.RegexMatchSetRegexMatchTupleFieldToMatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.wafregional.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property data When `type` is `HEADER`, enter the name of the header that you want to search, e.g., `User-Agent` or `Referer`.
* If `type` is any other value, omit this field.
* @property type The part of the web request that you want AWS WAF to search for a specified string.
* e.g., `HEADER`, `METHOD` or `BODY`.
* See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_FieldToMatch.html)
* for all supported values.
*/
public data class RegexMatchSetRegexMatchTupleFieldToMatch(
public val `data`: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.wafregional.outputs.RegexMatchSetRegexMatchTupleFieldToMatch): RegexMatchSetRegexMatchTupleFieldToMatch = RegexMatchSetRegexMatchTupleFieldToMatch(
`data` = javaType.`data`().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy