Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.wafv2.kotlin.inputs
import com.pulumi.awsnative.wafv2.inputs.WebAclManagedRuleGroupStatementArgs.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 excludedRules Rules in the referenced rule group whose actions are set to `Count` .
* > Instead of this option, use `RuleActionOverrides` . It accepts any valid action setting, including `Count` .
* @property managedRuleGroupConfigs Collection of ManagedRuleGroupConfig.
* @property name The name of the managed rule group. You use this, along with the vendor name, to identify the rule group.
* @property ruleActionOverrides Action overrides for rules in the rule group.
* @property scopeDownStatement An optional nested statement that narrows the scope of the web requests that are evaluated by the managed rule group. Requests are only evaluated by the rule group if they match the scope-down statement. You can use any nestable `Statement` in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement.
* @property vendorName The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group.
* @property version The version of the managed rule group to use. If you specify this, the version setting is fixed until you change it. If you don't specify this, AWS WAF uses the vendor's default version, and then keeps the version at the vendor's default when the vendor updates the managed rule group settings.
*/
public data class WebAclManagedRuleGroupStatementArgs(
public val excludedRules: Output>? = null,
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.awsnative.wafv2.inputs.WebAclManagedRuleGroupStatementArgs =
com.pulumi.awsnative.wafv2.inputs.WebAclManagedRuleGroupStatementArgs.builder()
.excludedRules(
excludedRules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.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 [WebAclManagedRuleGroupStatementArgs].
*/
@PulumiTagMarker
public class WebAclManagedRuleGroupStatementArgsBuilder internal constructor() {
private var excludedRules: Output>? = null
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 Rules in the referenced rule group whose actions are set to `Count` .
* > Instead of this option, use `RuleActionOverrides` . It accepts any valid action setting, including `Count` .
*/
@JvmName("mutnwmgnjbtupmfp")
public suspend fun excludedRules(`value`: Output>) {
this.excludedRules = value
}
@JvmName("wxhubxfoojnmnjxc")
public suspend fun excludedRules(vararg values: Output) {
this.excludedRules = Output.all(values.asList())
}
/**
* @param values Rules in the referenced rule group whose actions are set to `Count` .
* > Instead of this option, use `RuleActionOverrides` . It accepts any valid action setting, including `Count` .
*/
@JvmName("ypomogqjbmgtxdbt")
public suspend fun excludedRules(values: List