

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::WAFv2::WebACL ExcludedRule
<a name="aws-properties-wafv2-webacl-excludedrule"></a>

Specifies a single rule in a rule group whose action you want to override to `Count`. 

**Note**  
Instead of this option, use `RuleActionOverrides`. It accepts any valid action setting, including `Count`.

## Syntax
<a name="aws-properties-wafv2-webacl-excludedrule-syntax"></a>

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

### JSON
<a name="aws-properties-wafv2-webacl-excludedrule-syntax.json"></a>

```
{
  "[Name](#cfn-wafv2-webacl-excludedrule-name)" : String
}
```

### YAML
<a name="aws-properties-wafv2-webacl-excludedrule-syntax.yaml"></a>

```
  [Name](#cfn-wafv2-webacl-excludedrule-name): String
```

## Properties
<a name="aws-properties-wafv2-webacl-excludedrule-properties"></a>

`Name`  <a name="cfn-wafv2-webacl-excludedrule-name"></a>
The name of the rule whose action you want to override to `Count`.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[0-9A-Za-z_-]{1,128}$`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)