AWS::WAFv2::WebACL ResponseInspectionStatusCode - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::WAFv2::WebACL ResponseInspectionStatusCode

Configures inspection of the response status code. This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet.

Note

Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "FailureCodes" : [ Integer, ... ], "SuccessCodes" : [ Integer, ... ] }

YAML

FailureCodes: - Integer SuccessCodes: - Integer

Properties

FailureCodes

Status codes in the response that indicate a failed login attempt. To be counted as a failed login, 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: List of Integer

Maximum: 10

Update requires: No interruption

SuccessCodes

Status codes in the response that indicate a successful login attempt. To be counted as a successful login, 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: List of Integer

Maximum: 10

Update requires: No interruption