This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::WAFv2::WebACL ResponseInspectionStatusCode
Configures inspection of the response status code.
This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet.
Note
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "FailureCodes" :[ Integer, ... ], "SuccessCodes" :[ Integer, ... ]}
YAML
FailureCodes:- IntegerSuccessCodes:- Integer
Properties
FailureCodes-
Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.
JSON example:
"FailureCodes": [ 400, 404 ]Required: Yes
Type: Array of Integer
Minimum:
0 | 1Maximum:
999 | 10Update requires: No interruption
SuccessCodes-
Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.
JSON example:
"SuccessCodes": [ 200, 201 ]Required: Yes
Type: Array of Integer
Minimum:
0 | 1Maximum:
999 | 10Update requires: No interruption