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

com.pulumi.awsnative.wafv2.kotlin.outputs.RuleGroupHeaderMatchPattern.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: 0.122.0.0
Show newest version
@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 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy