@Stability(value=Stable)
public static interface CfnWebACL.ManagedRuleGroupConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 String |
getLoginPath()
The path of the login endpoint for your application.
|
default Object |
getPasswordField()
Details about your login page password field.
|
default String |
getPayloadType()
The payload type for your login endpoint, either JSON or form encoded.
|
default Object |
getUsernameField()
Details about your login page username field.
|
@Stability(value=Stable) @Nullable default String getLoginPath()
For example, for the URL https://example.com/web/login , you would provide the path /web/login .
@Stability(value=Stable) @Nullable default Object getPasswordField()
@Stability(value=Stable) @Nullable default String getPayloadType()
@Stability(value=Stable) @Nullable default Object getUsernameField()
@Stability(value=Stable) static CfnWebACL.ManagedRuleGroupConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.