interface ResponseInspectionHeaderProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WAFv2.Mixins.CfnWebACLPropsMixin.ResponseInspectionHeaderProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswafv2/mixins#CfnWebACLPropsMixin_ResponseInspectionHeaderProperty |
Java | software.amazon.awscdk.mixins.preview.services.wafv2.mixins.CfnWebACLPropsMixin.ResponseInspectionHeaderProperty |
Python | aws_cdk.mixins_preview.aws_wafv2.mixins.CfnWebACLPropsMixin.ResponseInspectionHeaderProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wafv2 » mixins » CfnWebACLPropsMixin » ResponseInspectionHeaderProperty |
Configures inspection of the response header. This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet .
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as wafv2_mixins } from '@aws-cdk/mixins-preview/aws-wafv2';
const responseInspectionHeaderProperty: wafv2_mixins.CfnWebACLPropsMixin.ResponseInspectionHeaderProperty = {
failureValues: ['failureValues'],
name: 'name',
successValues: ['successValues'],
};
Properties
| Name | Type | Description |
|---|---|---|
| failure | string[] | Values in the response header with the specified name that indicate a failed login or account creation attempt. |
| name? | string | The name of the header to match against. The name must be an exact match, including case. |
| success | string[] | Values in the response header with the specified name that indicate a successful login or account creation attempt. |
failureValues?
Type:
string[]
(optional)
Values in the response header with the specified name that indicate a failed login or account creation attempt.
To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON examples: "FailureValues": [ "LoginFailed", "Failed login" ] and "FailureValues": [ "AccountCreationFailed" ]
name?
Type:
string
(optional)
The name of the header to match against. The name must be an exact match, including case.
JSON example: "Name": [ "RequestResult" ]
successValues?
Type:
string[]
(optional)
Values in the response header with the specified name that indicate a successful login or account creation attempt.
To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON examples: "SuccessValues": [ "LoginPassed", "Successful login" ] and "SuccessValues": [ "AccountCreated", "Successful account creation" ]

.NET
Go
Java
Python
TypeScript