Class: Aws::WAFV2::Types::OverrideAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::OverrideAction
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-wafv2/types.rb
Overview
The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.
You can only use this for rule statements that reference a rule group, like ‘RuleGroupReferenceStatement` and `ManagedRuleGroupStatement`.
<note markdown=“1”> This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with ‘Count` action, in your rule group reference statement settings.
</note>
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#count ⇒ Types::CountAction
Override the rule group evaluation result to count only.
-
#none ⇒ Types::NoneAction
Don’t override the rule group evaluation result.
Instance Attribute Details
#count ⇒ Types::CountAction
Override the rule group evaluation result to count only.
<note markdown=“1”> This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with ‘Count` action, in your rule group reference statement settings.
</note>
5979 5980 5981 5982 5983 5984 |
# File 'lib/aws-sdk-wafv2/types.rb', line 5979 class OverrideAction < Struct.new( :count, :none) SENSITIVE = [] include Aws::Structure end |
#none ⇒ Types::NoneAction
Don’t override the rule group evaluation result. This is the most common setting.
5979 5980 5981 5982 5983 5984 |
# File 'lib/aws-sdk-wafv2/types.rb', line 5979 class OverrideAction < Struct.new( :count, :none) SENSITIVE = [] include Aws::Structure end |