public static interface CfnWebACL.ManagedRuleGroupConfigProperty
Use this for the account takeover prevention managed rule group AWSManagedRulesATPRuleSet
, to provide information about the sign-in page of your application.
You can provide multiple individual ManagedRuleGroupConfig
objects for any rule group configuration, for example UsernameField
and PasswordField
. The configuration that you provide depends on the needs of the managed rule group. For the ATP managed rule group, you provide the following individual configuration objects: LoginPath
, PasswordField
, PayloadType
and UsernameField
.
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.*; ManagedRuleGroupConfigProperty managedRuleGroupConfigProperty = ManagedRuleGroupConfigProperty.builder() .loginPath("loginPath") .passwordField(FieldIdentifierProperty.builder() .identifier("identifier") .build()) .payloadType("payloadType") .usernameField(FieldIdentifierProperty.builder() .identifier("identifier") .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnWebACL.ManagedRuleGroupConfigProperty.Builder
A builder for
CfnWebACL.ManagedRuleGroupConfigProperty |
static class |
CfnWebACL.ManagedRuleGroupConfigProperty.Jsii$Proxy
An implementation for
CfnWebACL.ManagedRuleGroupConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnWebACL.ManagedRuleGroupConfigProperty.Builder |
builder() |
default java.lang.String |
getLoginPath()
The path of the login endpoint for your application.
|
default java.lang.Object |
getPasswordField()
Details about your login page password field.
|
default java.lang.String |
getPayloadType()
The payload type for your login endpoint, either JSON or form encoded.
|
default java.lang.Object |
getUsernameField()
Details about your login page username field.
|
default java.lang.String getLoginPath()
For example, for the URL https://example.com/web/login
, you would provide the path /web/login
.
default java.lang.Object getPasswordField()
default java.lang.String getPayloadType()
default java.lang.Object getUsernameField()
static CfnWebACL.ManagedRuleGroupConfigProperty.Builder builder()