AWS::WAFv2::WebACL RuleGroupReferenceStatement - AWS CloudFormation

AWS::WAFv2::WebACL RuleGroupReferenceStatement

Note

This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.

A rule statement used to run the rules that are defined in a RuleGroup. To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.

You cannot nest a RuleGroupReferenceStatement, for example for use inside a NotStatement or OrStatement. It can only be referenced as a top-level statement within a rule.

Syntax

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

JSON

{ "Arn" : String, "ExcludedRules" : [ ExcludedRule, ... ] }

YAML

Arn: String ExcludedRules: - ExcludedRule

Properties

Arn

The Amazon Resource Name (ARN) of the entity.

Required: Yes

Type: String

Minimum: 20

Maximum: 2048

Pattern: .*\S.*

Update requires: No interruption

ExcludedRules

The names of rules that are in the referenced rule group, but that you want AWS WAF to exclude from processing for this rule statement.

Required: No

Type: List of ExcludedRule

Update requires: No interruption