com.pulumi.aws.wafv2.kotlin.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternArgs.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.wafv2.kotlin.inputs
import com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property all An empty configuration block that is used for inspecting all headers.
* @property excludedHeaders An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values.
* @property includedHeaders An array of strings that will be used for inspecting headers that have a key that matches one of the provided values.
*/
public data class
RuleGroupRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternArgs(
public val all: Output? =
null,
public val excludedHeaders: Output>? = null,
public val includedHeaders: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternArgs =
com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternArgs.builder()
.all(all?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.excludedHeaders(excludedHeaders?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.includedHeaders(includedHeaders?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [RuleGroupRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternArgs].
*/
@PulumiTagMarker
public class
RuleGroupRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchHeaderMatchPatternArgsBuilder
internal constructor() {
private var all:
Output? =
null
private var excludedHeaders: Output>? = null
private var includedHeaders: Output>? = null
/**
* @param value An empty configuration block that is used for inspecting all headers.
*/
@JvmName("ajxycgmftqfjhxsl")
public suspend fun all(`value`: Output) {
this.all = value
}
/**
* @param value An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values.
*/
@JvmName("pbufopxnndrkjkos")
public suspend fun excludedHeaders(`value`: Output>) {
this.excludedHeaders = value
}
@JvmName("jfkqywhgyhgsbuyt")
public suspend fun excludedHeaders(vararg values: Output) {
this.excludedHeaders = Output.all(values.asList())
}
/**
* @param values An array of strings that will be used for inspecting headers that do not have a key that matches one of the provided values.
*/
@JvmName("biqihwvkikotwlve")
public suspend fun excludedHeaders(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy