ExcludedRule - AWS WAFV2
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: December 31, 2025.

ExcludedRule

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.

Contents

Name

The name of the rule whose action you want to override to Count.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: ^[\w\-]+$

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: