WebAclRuleArgs

data class WebAclRuleArgs(val action: Output<WebAclRuleActionArgs>? = null, val name: Output<String>, val overrideAction: Output<WebAclRuleOverrideActionArgs>? = null, val priority: Output<Int>, val ruleLabels: Output<List<WebAclRuleRuleLabelArgs>>? = null, val statement: Output<WebAclRuleStatementArgs>, val visibilityConfig: Output<WebAclRuleVisibilityConfigArgs>) : ConvertibleToJava<WebAclRuleArgs>

Constructors

Link copied to clipboard
fun WebAclRuleArgs(action: Output<WebAclRuleActionArgs>? = null, name: Output<String>, overrideAction: Output<WebAclRuleOverrideActionArgs>? = null, priority: Output<Int>, ruleLabels: Output<List<WebAclRuleRuleLabelArgs>>? = null, statement: Output<WebAclRuleStatementArgs>, visibilityConfig: Output<WebAclRuleVisibilityConfigArgs>)

Functions

Link copied to clipboard
open override fun toJava(): WebAclRuleArgs

Properties

Link copied to clipboard
val action: Output<WebAclRuleActionArgs>? = null

Action that AWS WAF should take on a web request when it matches the rule's statement. This is used only for rules whose statements do not reference a rule group. See action below for details.

Link copied to clipboard
val name: Output<String>

Friendly name of the rule.

Link copied to clipboard

Override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, like rule_group_reference_statement and managed_rule_group_statement. See override_action below for details.

Link copied to clipboard
val priority: Output<Int>

If you define more than one Rule in a WebACL, AWS WAF evaluates each request against the rules in order based on the value of priority. AWS WAF processes rules with lower priority first.

Link copied to clipboard

Labels to apply to web requests that match the rule match statement. See rule_label below for details.

Link copied to clipboard

The AWS WAF processing statement for the rule, for example byte_match_statement or geo_match_statement. See statement below for details.

Link copied to clipboard

Defines and enables Amazon CloudWatch metrics and web request sample collection. See visibility_config below for details.