Interface CfnWebACL.ResponseInspectionJsonProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWebACL.ResponseInspectionJsonProperty.Jsii$Proxy
- Enclosing class:
CfnWebACL
AWS WAF can inspect the first 65,536 bytes (64 KB) of the response JSON. 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 software.amazon.awscdk.services.wafv2.*;
ResponseInspectionJsonProperty responseInspectionJsonProperty = ResponseInspectionJsonProperty.builder()
.failureValues(List.of("failureValues"))
.identifier("identifier")
.successValues(List.of("successValues"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWebACL.ResponseInspectionJsonPropertystatic final classAn implementation forCfnWebACL.ResponseInspectionJsonProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt.The identifier for the value to match against in the JSON.Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFailureValues
Values for the specified identifier in the response JSON 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 example:
"FailureValues": [ "False", "Failed" ]- See Also:
-
getIdentifier
The identifier for the value to match against in the JSON.The identifier must be an exact match, including case.
JSON examples:
"Identifier": [ "/login/success" ]and"Identifier": [ "/sign-up/success" ]- See Also:
-
getSuccessValues
Values for the specified identifier in the response JSON 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 example:
"SuccessValues": [ "True", "Succeeded" ]- See Also:
-
builder
-