com.pulumi.awsnative.wafv2.kotlin.outputs.RuleGroupCookieMatchPattern.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 cookies.
* @property all Inspect all parts of the web request cookies.
* @property excludedCookies Inspect only the cookies whose keys don't match any of the strings specified here.
* @property includedCookies Inspect only the cookies that have a key that matches one of the strings specified here.
*/
public data class RuleGroupCookieMatchPattern(
public val all: Any? = null,
public val excludedCookies: List? = null,
public val includedCookies: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.RuleGroupCookieMatchPattern): RuleGroupCookieMatchPattern = RuleGroupCookieMatchPattern(
all = javaType.all().map({ args0 -> args0 }).orElse(null),
excludedCookies = javaType.excludedCookies().map({ args0 -> args0 }),
includedCookies = javaType.includedCookies().map({ args0 -> args0 }),
)
}
}