You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::WAFV2::Types::OverrideAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::OverrideAction
- Defined in:
- (unknown)
Overview
When passing OverrideAction as input to an Aws::Client method, you can use a vanilla Hash:
{
count: {
},
none: {
},
}
The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, like RuleGroupReferenceStatement
and ManagedRuleGroupStatement
.
Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.
In a Rule, you must specify either this OverrideAction
setting or the rule Action
setting, but not both:
-
If the rule statement references a rule group, use this override action setting and not the action setting.
-
If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.
Returned by:
Instance Attribute Summary collapse
-
#count ⇒ Types::CountAction
Override the rule action setting to count.
-
#none ⇒ Types::NoneAction
Don\'t override the rule action setting.
Instance Attribute Details
#count ⇒ Types::CountAction
Override the rule action setting to count.
#none ⇒ Types::NoneAction
Don\'t override the rule action setting.