public static final class CfnWebACL.ManagedRuleGroupConfigProperty.Builder
extends java.lang.Object
CfnWebACL.ManagedRuleGroupConfigProperty
Constructor and Description |
---|
Builder() |
public CfnWebACL.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAtpRuleSet(IResolvable awsManagedRulesAtpRuleSet)
CfnWebACL.ManagedRuleGroupConfigProperty.getAwsManagedRulesAtpRuleSet()
awsManagedRulesAtpRuleSet
- Additional configuration for using the account takeover prevention (ATP) managed rule group, `AWSManagedRulesATPRuleSet` .
Use this to provide login request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to login requests.
This configuration replaces the individual configuration fields in ManagedRuleGroupConfig
and provides additional feature configuration.
For information about using the ATP managed rule group, see AWS WAF Fraud Control account takeover prevention (ATP) rule group and AWS WAF Fraud Control account takeover prevention (ATP) in the AWS WAF Developer Guide .
this
public CfnWebACL.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAtpRuleSet(CfnWebACL.AWSManagedRulesATPRuleSetProperty awsManagedRulesAtpRuleSet)
CfnWebACL.ManagedRuleGroupConfigProperty.getAwsManagedRulesAtpRuleSet()
awsManagedRulesAtpRuleSet
- Additional configuration for using the account takeover prevention (ATP) managed rule group, `AWSManagedRulesATPRuleSet` .
Use this to provide login request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to login requests.
This configuration replaces the individual configuration fields in ManagedRuleGroupConfig
and provides additional feature configuration.
For information about using the ATP managed rule group, see AWS WAF Fraud Control account takeover prevention (ATP) rule group and AWS WAF Fraud Control account takeover prevention (ATP) in the AWS WAF Developer Guide .
this
public CfnWebACL.ManagedRuleGroupConfigProperty.Builder awsManagedRulesBotControlRuleSet(IResolvable awsManagedRulesBotControlRuleSet)
awsManagedRulesBotControlRuleSet
- Additional configuration for using the Bot Control managed rule group.
Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see AWS WAF Bot Control rule group and AWS WAF Bot Control in the AWS WAF Developer Guide .this
public CfnWebACL.ManagedRuleGroupConfigProperty.Builder awsManagedRulesBotControlRuleSet(CfnWebACL.AWSManagedRulesBotControlRuleSetProperty awsManagedRulesBotControlRuleSet)
awsManagedRulesBotControlRuleSet
- Additional configuration for using the Bot Control managed rule group.
Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see AWS WAF Bot Control rule group and AWS WAF Bot Control in the AWS WAF Developer Guide .this
public CfnWebACL.ManagedRuleGroupConfigProperty.Builder loginPath(java.lang.String loginPath)
CfnWebACL.ManagedRuleGroupConfigProperty.getLoginPath()
loginPath
- > Instead of this setting, provide your configuration under `AWSManagedRulesATPRuleSet` .this
public CfnWebACL.ManagedRuleGroupConfigProperty.Builder passwordField(IResolvable passwordField)
CfnWebACL.ManagedRuleGroupConfigProperty.getPasswordField()
passwordField
- > Instead of this setting, provide your configuration under `AWSManagedRulesATPRuleSet` `RequestInspection` .this
public CfnWebACL.ManagedRuleGroupConfigProperty.Builder passwordField(CfnWebACL.FieldIdentifierProperty passwordField)
CfnWebACL.ManagedRuleGroupConfigProperty.getPasswordField()
passwordField
- > Instead of this setting, provide your configuration under `AWSManagedRulesATPRuleSet` `RequestInspection` .this
public CfnWebACL.ManagedRuleGroupConfigProperty.Builder payloadType(java.lang.String payloadType)
CfnWebACL.ManagedRuleGroupConfigProperty.getPayloadType()
payloadType
- > Instead of this setting, provide your configuration under `AWSManagedRulesATPRuleSet` `RequestInspection` .this
public CfnWebACL.ManagedRuleGroupConfigProperty.Builder usernameField(IResolvable usernameField)
CfnWebACL.ManagedRuleGroupConfigProperty.getUsernameField()
usernameField
- > Instead of this setting, provide your configuration under `AWSManagedRulesATPRuleSet` `RequestInspection` .this
public CfnWebACL.ManagedRuleGroupConfigProperty.Builder usernameField(CfnWebACL.FieldIdentifierProperty usernameField)
CfnWebACL.ManagedRuleGroupConfigProperty.getUsernameField()
usernameField
- > Instead of this setting, provide your configuration under `AWSManagedRulesATPRuleSet` `RequestInspection` .this
public CfnWebACL.ManagedRuleGroupConfigProperty build()
CfnWebACL.ManagedRuleGroupConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided