Web Acl Args
Constructors
Properties
Specifies custom configurations for the associations between the web ACL and protected resources. See association_config
below for details.
Specifies how AWS WAF should handle CAPTCHA evaluations on the ACL level (used by AWS Bot Control). See captcha_config
below for details.
Specifies how AWS WAF should handle Challenge evaluations on the ACL level (used by AWS Bot Control). See challenge_config
below for details.
Defines custom response bodies that can be referenced by custom_response
actions. See custom_response_body
below for details.
Action to perform if none of the rules
contained in the WebACL match. See default_action
below for details.
Friendly description of the WebACL.
Creates a unique name beginning with the specified prefix. Conflicts with name
.
Raw JSON string to allow more than three nested statements. Conflicts with rule
attribute. This is for advanced use cases where more than 3 levels of nested statements are required. There is no drift detection at this time. If you use this attribute instead of rule
, you will be foregoing drift detection. Additionally, importing an existing web ACL into a configuration with rule_json
set will result in a one time in-place update as the remote rule configuration is initially written to the rule
attribute. See the AWS documentation for the JSON structure.
Rule blocks used to identify the web requests that you want to allow
, block
, or count
. See rule
below for details.
Specifies the domains that AWS WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When AWS WAF provides a token, it uses the domain of the AWS resource that the web ACL is protecting. If you don't specify a list of token domains, AWS WAF accepts tokens only for the domain of the protected resource. With a token domain list, AWS WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.
Defines and enables Amazon CloudWatch metrics and web request sample collection. See visibility_config
below for details.