Class CfnWebACL.ManagedRuleGroupConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.ManagedRuleGroupConfigProperty>
- Enclosing interface:
CfnWebACL.ManagedRuleGroupConfigProperty
CfnWebACL.ManagedRuleGroupConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionawsManagedRulesAcfpRuleSet
(IResolvable awsManagedRulesAcfpRuleSet) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getAwsManagedRulesAcfpRuleSet()
awsManagedRulesAcfpRuleSet
(CfnWebACL.AWSManagedRulesACFPRuleSetProperty awsManagedRulesAcfpRuleSet) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getAwsManagedRulesAcfpRuleSet()
awsManagedRulesAtpRuleSet
(IResolvable awsManagedRulesAtpRuleSet) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getAwsManagedRulesAtpRuleSet()
awsManagedRulesAtpRuleSet
(CfnWebACL.AWSManagedRulesATPRuleSetProperty awsManagedRulesAtpRuleSet) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getAwsManagedRulesAtpRuleSet()
awsManagedRulesBotControlRuleSet
(IResolvable awsManagedRulesBotControlRuleSet) awsManagedRulesBotControlRuleSet
(CfnWebACL.AWSManagedRulesBotControlRuleSetProperty awsManagedRulesBotControlRuleSet) build()
Builds the configured instance.Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getLoginPath()
passwordField
(IResolvable passwordField) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getPasswordField()
passwordField
(CfnWebACL.FieldIdentifierProperty passwordField) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getPasswordField()
payloadType
(String payloadType) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getPayloadType()
usernameField
(IResolvable usernameField) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getUsernameField()
usernameField
(CfnWebACL.FieldIdentifierProperty usernameField) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getUsernameField()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsManagedRulesAcfpRuleSet
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAcfpRuleSet(IResolvable awsManagedRulesAcfpRuleSet) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getAwsManagedRulesAcfpRuleSet()
- Parameters:
awsManagedRulesAcfpRuleSet
- Additional configuration for using the account creation fraud prevention (ACFP) managed rule group,AWSManagedRulesACFPRuleSet
. Use this to provide account creation 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 account creation requests.For information about using the ACFP managed rule group, see AWS WAF Fraud Control account creation fraud prevention (ACFP) rule group and AWS WAF Fraud Control account creation fraud prevention (ACFP) in the AWS WAF Developer Guide .
- Returns:
this
-
awsManagedRulesAcfpRuleSet
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAcfpRuleSet(CfnWebACL.AWSManagedRulesACFPRuleSetProperty awsManagedRulesAcfpRuleSet) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getAwsManagedRulesAcfpRuleSet()
- Parameters:
awsManagedRulesAcfpRuleSet
- Additional configuration for using the account creation fraud prevention (ACFP) managed rule group,AWSManagedRulesACFPRuleSet
. Use this to provide account creation 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 account creation requests.For information about using the ACFP managed rule group, see AWS WAF Fraud Control account creation fraud prevention (ACFP) rule group and AWS WAF Fraud Control account creation fraud prevention (ACFP) in the AWS WAF Developer Guide .
- Returns:
this
-
awsManagedRulesAtpRuleSet
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAtpRuleSet(IResolvable awsManagedRulesAtpRuleSet) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getAwsManagedRulesAtpRuleSet()
- Parameters:
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 .
- Returns:
this
-
awsManagedRulesAtpRuleSet
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAtpRuleSet(CfnWebACL.AWSManagedRulesATPRuleSetProperty awsManagedRulesAtpRuleSet) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getAwsManagedRulesAtpRuleSet()
- Parameters:
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 .
- Returns:
this
-
awsManagedRulesBotControlRuleSet
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder awsManagedRulesBotControlRuleSet(IResolvable awsManagedRulesBotControlRuleSet) - Parameters:
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 .- Returns:
this
-
awsManagedRulesBotControlRuleSet
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder awsManagedRulesBotControlRuleSet(CfnWebACL.AWSManagedRulesBotControlRuleSetProperty awsManagedRulesBotControlRuleSet) - Parameters:
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 .- Returns:
this
-
loginPath
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder loginPath(String loginPath) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getLoginPath()
- Parameters:
loginPath
-Instead of this setting, provide your configuration under
AWSManagedRulesATPRuleSet
.- Returns:
this
-
passwordField
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder passwordField(IResolvable passwordField) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getPasswordField()
- Parameters:
passwordField
-Instead of this setting, provide your configuration under the request inspection configuration for
AWSManagedRulesATPRuleSet
orAWSManagedRulesACFPRuleSet
.- Returns:
this
-
passwordField
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder passwordField(CfnWebACL.FieldIdentifierProperty passwordField) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getPasswordField()
- Parameters:
passwordField
-Instead of this setting, provide your configuration under the request inspection configuration for
AWSManagedRulesATPRuleSet
orAWSManagedRulesACFPRuleSet
.- Returns:
this
-
payloadType
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder payloadType(String payloadType) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getPayloadType()
- Parameters:
payloadType
-Instead of this setting, provide your configuration under the request inspection configuration for
AWSManagedRulesATPRuleSet
orAWSManagedRulesACFPRuleSet
.- Returns:
this
-
usernameField
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder usernameField(IResolvable usernameField) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getUsernameField()
- Parameters:
usernameField
-Instead of this setting, provide your configuration under the request inspection configuration for
AWSManagedRulesATPRuleSet
orAWSManagedRulesACFPRuleSet
.- Returns:
this
-
usernameField
@Stability(Stable) public CfnWebACL.ManagedRuleGroupConfigProperty.Builder usernameField(CfnWebACL.FieldIdentifierProperty usernameField) Sets the value ofCfnWebACL.ManagedRuleGroupConfigProperty.getUsernameField()
- Parameters:
usernameField
-Instead of this setting, provide your configuration under the request inspection configuration for
AWSManagedRulesATPRuleSet
orAWSManagedRulesACFPRuleSet
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACL.ManagedRuleGroupConfigProperty>
- Returns:
- a new instance of
CfnWebACL.ManagedRuleGroupConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-