AWS::WAFv2::WebACL OverrideAction - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::WAFv2::WebACL OverrideAction

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

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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Count" : Json, "None" : Json }

YAML

Count: Json None: Json

Properties

Count

Override the rule group evaluation result to count only.

Note

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.

Required: No

Type: Json

Update requires: No interruption

None

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

Required: No

Type: Json

Update requires: No interruption