Interface CfnWebACL.AWSManagedRulesATPRuleSetProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnWebACL.AWSManagedRulesATPRuleSetProperty.Jsii$Proxy
Enclosing class:
CfnWebACL

@Stability(Stable) public static interface CfnWebACL.AWSManagedRulesATPRuleSetProperty extends software.amazon.jsii.JsiiSerializable
Details for your use of the account takeover prevention managed rule group, AWSManagedRulesATPRuleSet .

This configuration is used in ManagedRuleGroupConfig .

For additional information about this and the other intelligent threat mitigation rule groups, see Intelligent threat mitigation in AWS WAF and AWS Managed Rules rule groups list in the AWS WAF Developer Guide .

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.*;
 AWSManagedRulesATPRuleSetProperty aWSManagedRulesATPRuleSetProperty = AWSManagedRulesATPRuleSetProperty.builder()
         .loginPath("loginPath")
         // the properties below are optional
         .enableRegexInPath(false)
         .requestInspection(RequestInspectionProperty.builder()
                 .passwordField(FieldIdentifierProperty.builder()
                         .identifier("identifier")
                         .build())
                 .payloadType("payloadType")
                 .usernameField(FieldIdentifierProperty.builder()
                         .identifier("identifier")
                         .build())
                 .build())
         .responseInspection(ResponseInspectionProperty.builder()
                 .bodyContains(ResponseInspectionBodyContainsProperty.builder()
                         .failureStrings(List.of("failureStrings"))
                         .successStrings(List.of("successStrings"))
                         .build())
                 .header(ResponseInspectionHeaderProperty.builder()
                         .failureValues(List.of("failureValues"))
                         .name("name")
                         .successValues(List.of("successValues"))
                         .build())
                 .json(ResponseInspectionJsonProperty.builder()
                         .failureValues(List.of("failureValues"))
                         .identifier("identifier")
                         .successValues(List.of("successValues"))
                         .build())
                 .statusCode(ResponseInspectionStatusCodeProperty.builder()
                         .failureCodes(List.of(123))
                         .successCodes(List.of(123))
                         .build())
                 .build())
         .build();
 

See Also: