Class: Aws::WAFV2::Types::OverrideAction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/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.

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#countTypes::CountAction

Override the rule group evaluation result to count only.

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.

Returns:



5987
5988
5989
5990
5991
5992
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 5987

class OverrideAction < Struct.new(
  :count,
  :none)
  SENSITIVE = []
  include Aws::Structure
end

#noneTypes::NoneAction

Don't override the rule group evaluation result. This is the most common setting.

Returns:

  • (Types::NoneAction)


5987
5988
5989
5990
5991
5992
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 5987

class OverrideAction < Struct.new(
  :count,
  :none)
  SENSITIVE = []
  include Aws::Structure
end