AwsWafv2RulesDetails
Provides details about rules in a rule group. A rule identifies web requests that you want to allow, block, or count. Each rule includes one top-level Statement that AWS WAF uses to identify matching web requests, and parameters that govern how AWS WAF handles them.
Contents
- Action
-
The action that AWS WAF should take on a web request when it matches the rule statement. Settings at the web ACL level can override the rule action setting.
Type: AwsWafv2RulesActionDetails object
Required: No
- Name
-
The name of the rule.
Type: String
Pattern:
.*\S.*
Required: No
- OverrideAction
-
The action to use in the place of the action that results from the rule group evaluation.
Type: String
Pattern:
.*\S.*
Required: No
- Priority
-
If you define more than one Rule in a WebACL, AWS WAF evaluates each request against the Rules in order based on the value of
Priority
. AWS WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different.Type: Integer
Required: No
- VisibilityConfig
-
Defines and enables Amazon CloudWatch metrics and web request sample collection.
Type: AwsWafv2VisibilityConfigDetails object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: