WafRule
Describes a Web Application Firewall (WAF) rule group for a Lightsail distribution. A WAF rule group is a set of rules managed by AWS. The rules inspect viewer requests and block requests that match them.
Contents
- name
-
The name of the WAF rule group (for example,
AWSManagedRulesCommonRuleSet).For the WAF rule groups that you can specify for each bundle, see the
wafRulesparameter of theCreateDistributionaction.Type: String
Required: Yes
- acfpConfig
-
An object that describes the configuration of the account creation fraud prevention rule group.
Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesACFPRuleSet. -
This parameter is required when the
nameisAWSManagedRulesACFPRuleSet.
Type: WafAcfpConfig object
Required: No
-
- atpConfig
-
An object that describes the configuration of the account takeover prevention rule group.
Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesATPRuleSet. -
This parameter is required when the
nameisAWSManagedRulesATPRuleSet.
Type: WafAtpConfig object
Required: No
-
- botControlConfig
-
An object that describes the configuration of the bot control rule group.
Constraints:
-
Define this parameter only when the
nameisAWSManagedRulesBotControlRuleSet. -
This parameter is required when the
nameisAWSManagedRulesBotControlRuleSet.
Type: WafBotControlConfig object
Required: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: