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

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

@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 WebAclCookieMatchPattern(
    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.WebAclCookieMatchPattern): WebAclCookieMatchPattern = WebAclCookieMatchPattern(
            all = javaType.all().map({ args0 -> args0 }).orElse(null),
            excludedCookies = javaType.excludedCookies().map({ args0 -> args0 }),
            includedCookies = javaType.includedCookies().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy