com.pulumi.aws.wafv2.kotlin.inputs.RuleGroupRuleStatementRateBasedStatementCustomKeyCookieArgs.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.RuleGroupRuleStatementRateBasedStatementCustomKeyCookieArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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 name A friendly name of the rule group.
* @property textTransformations Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. They are used in rate-based rule statements, to transform request components before using them as custom aggregation keys. Atleast one transformation is required. See Text Transformation above for details.
*/
public data class RuleGroupRuleStatementRateBasedStatementCustomKeyCookieArgs(
public val name: Output,
public val textTransformations: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementCustomKeyCookieArgs =
com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementRateBasedStatementCustomKeyCookieArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.textTransformations(
textTransformations.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [RuleGroupRuleStatementRateBasedStatementCustomKeyCookieArgs].
*/
@PulumiTagMarker
public class RuleGroupRuleStatementRateBasedStatementCustomKeyCookieArgsBuilder internal constructor() {
private var name: Output? = null
private var textTransformations:
Output>? =
null
/**
* @param value A friendly name of the rule group.
*/
@JvmName("jwgqyigaeiiagtkw")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. They are used in rate-based rule statements, to transform request components before using them as custom aggregation keys. Atleast one transformation is required. See Text Transformation above for details.
*/
@JvmName("ynrasmogtuklafyq")
public suspend fun textTransformations(`value`: Output>) {
this.textTransformations = value
}
@JvmName("xeiygnbdlhiidkxt")
public suspend fun textTransformations(vararg values: Output) {
this.textTransformations = Output.all(values.asList())
}
/**
* @param values Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. They are used in rate-based rule statements, to transform request components before using them as custom aggregation keys. Atleast one transformation is required. See Text Transformation above for details.
*/
@JvmName("lfmryaxyqbrucgmj")
public suspend fun textTransformations(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy