AWS::WAFRegional::WebACL Action - 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::WAFRegional::WebACL Action

Specifies the action Amazon WAF takes when a web request matches or doesn't match all rule conditions.

Syntax

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

JSON

{ "Type" : String }

YAML

Type: String

Properties

Type

For actions that are associated with a rule, the action that Amazon WAF takes when a web request matches all conditions in a rule.

For the default action of a web access control list (ACL), the action that Amazon WAF takes when a web request doesn't match all conditions in any rule.

Valid settings include the following:

  • ALLOW: Amazon WAF allows requests

  • BLOCK: Amazon WAF blocks requests

  • COUNT: Amazon WAF increments a counter of the requests that match all of the conditions in the rule. Amazon WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL.

Required: Yes

Type: String

Update requires: No interruption