com.pulumi.aws.wafv2.kotlin.inputs.WebAclRuleStatementManagedRuleGroupStatementArgs.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.WebAclRuleStatementManagedRuleGroupStatementArgs.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 managedRuleGroupConfigs Additional information that's used by a managed rule group. Only one rule attribute is allowed in each config. See `managed_rule_group_configs` for more details
* @property name Name of the managed rule group.
* @property ruleActionOverrides Action settings to use in the place of the rule actions that are configured inside the rule group. You specify one override for each rule whose action you want to change. See `rule_action_override` below for details.
* @property scopeDownStatement Narrows the scope of the statement to matching web requests. This can be any nestable statement, and you can nest statements at any level below this scope-down statement. See `statement` above for details.
* @property vendorName Name of the managed rule group vendor.
* @property version Version of the managed rule group. You can set `Version_1.0` or `Version_1.1` etc. If you want to use the default version, do not set anything.
*/
public data class WebAclRuleStatementManagedRuleGroupStatementArgs(
public val managedRuleGroupConfigs: Output>? = null,
public val name: Output,
public val ruleActionOverrides: Output>? = null,
public val scopeDownStatement: Output? = null,
public val vendorName: Output,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementArgs =
com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementArgs.builder()
.managedRuleGroupConfigs(
managedRuleGroupConfigs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.ruleActionOverrides(
ruleActionOverrides?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.scopeDownStatement(
scopeDownStatement?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.vendorName(vendorName.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WebAclRuleStatementManagedRuleGroupStatementArgs].
*/
@PulumiTagMarker
public class WebAclRuleStatementManagedRuleGroupStatementArgsBuilder internal constructor() {
private var managedRuleGroupConfigs:
Output>? = null
private var name: Output? = null
private var ruleActionOverrides:
Output>? = null
private var scopeDownStatement:
Output? = null
private var vendorName: Output? = null
private var version: Output? = null
/**
* @param value Additional information that's used by a managed rule group. Only one rule attribute is allowed in each config. See `managed_rule_group_configs` for more details
*/
@JvmName("sdqkusurdihqaxws")
public suspend fun managedRuleGroupConfigs(`value`: Output>) {
this.managedRuleGroupConfigs = value
}
@JvmName("cgwfbffwnbmcjxsa")
public suspend fun managedRuleGroupConfigs(vararg values: Output) {
this.managedRuleGroupConfigs = Output.all(values.asList())
}
/**
* @param values Additional information that's used by a managed rule group. Only one rule attribute is allowed in each config. See `managed_rule_group_configs` for more details
*/
@JvmName("kecniwpcwcvvhsuw")
public suspend fun managedRuleGroupConfigs(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy