com.pulumi.awsnative.wafv2.kotlin.outputs.RuleGroupHeaderMatchPattern.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 kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The pattern to look for in the request headers.
* @property all Inspect all parts of the web request headers.
* @property excludedHeaders Inspect only the headers whose keys don't match any of the strings specified here.
* @property includedHeaders Inspect only the headers that have a key that matches one of the strings specified here.
*/
public data class RuleGroupHeaderMatchPattern(
public val all: Any? = null,
public val excludedHeaders: List? = null,
public val includedHeaders: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.RuleGroupHeaderMatchPattern): RuleGroupHeaderMatchPattern = RuleGroupHeaderMatchPattern(
all = javaType.all().map({ args0 -> args0 }).orElse(null),
excludedHeaders = javaType.excludedHeaders().map({ args0 -> args0 }),
includedHeaders = javaType.includedHeaders().map({ args0 -> args0 }),
)
}
}