Class CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty>
- Enclosing interface:
CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty
CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsManagedRulesAcfpRuleSet(CfnWebACLPropsMixin.AWSManagedRulesACFPRuleSetProperty awsManagedRulesAcfpRuleSet) awsManagedRulesAcfpRuleSet(IResolvable awsManagedRulesAcfpRuleSet) awsManagedRulesAntiDDoSRuleSet(CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty awsManagedRulesAntiDDoSRuleSet) awsManagedRulesAntiDDoSRuleSet(IResolvable awsManagedRulesAntiDDoSRuleSet) awsManagedRulesAtpRuleSet(CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty awsManagedRulesAtpRuleSet) awsManagedRulesAtpRuleSet(IResolvable awsManagedRulesAtpRuleSet) awsManagedRulesBotControlRuleSet(CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty awsManagedRulesBotControlRuleSet) awsManagedRulesBotControlRuleSet(IResolvable awsManagedRulesBotControlRuleSet) build()Builds the configured instance.Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getLoginPath()passwordField(CfnWebACLPropsMixin.FieldIdentifierProperty passwordField) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getPasswordField()passwordField(IResolvable passwordField) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getPasswordField()payloadType(String payloadType) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getPayloadType()usernameField(CfnWebACLPropsMixin.FieldIdentifierProperty usernameField) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getUsernameField()usernameField(IResolvable usernameField) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getUsernameField()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsManagedRulesAcfpRuleSet
@Stability(Stable) public CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAcfpRuleSet(IResolvable awsManagedRulesAcfpRuleSet) Sets the value ofCfnWebACLPropsMixin.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 CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAcfpRuleSet(CfnWebACLPropsMixin.AWSManagedRulesACFPRuleSetProperty awsManagedRulesAcfpRuleSet) Sets the value ofCfnWebACLPropsMixin.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
-
awsManagedRulesAntiDDoSRuleSet
@Stability(Stable) public CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAntiDDoSRuleSet(IResolvable awsManagedRulesAntiDDoSRuleSet) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getAwsManagedRulesAntiDDoSRuleSet()- Parameters:
awsManagedRulesAntiDDoSRuleSet- Additional configuration for using the anti-DDoS managed rule group,AWSManagedRulesAntiDDoSRuleSet. Use this to configure anti-DDoS behavior for the rule group.For information about using the anti-DDoS managed rule group, see AWS WAF Anti-DDoS rule group and Distributed Denial of Service (DDoS) prevention in the AWS WAF Developer Guide .
- Returns:
this
-
awsManagedRulesAntiDDoSRuleSet
@Stability(Stable) public CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAntiDDoSRuleSet(CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty awsManagedRulesAntiDDoSRuleSet) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getAwsManagedRulesAntiDDoSRuleSet()- Parameters:
awsManagedRulesAntiDDoSRuleSet- Additional configuration for using the anti-DDoS managed rule group,AWSManagedRulesAntiDDoSRuleSet. Use this to configure anti-DDoS behavior for the rule group.For information about using the anti-DDoS managed rule group, see AWS WAF Anti-DDoS rule group and Distributed Denial of Service (DDoS) prevention in the AWS WAF Developer Guide .
- Returns:
this
-
awsManagedRulesAtpRuleSet
@Stability(Stable) public CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAtpRuleSet(IResolvable awsManagedRulesAtpRuleSet) - 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
ManagedRuleGroupConfigand 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 CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder awsManagedRulesAtpRuleSet(CfnWebACLPropsMixin.AWSManagedRulesATPRuleSetProperty awsManagedRulesAtpRuleSet) - 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
ManagedRuleGroupConfigand 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 CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder awsManagedRulesBotControlRuleSet(IResolvable awsManagedRulesBotControlRuleSet) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getAwsManagedRulesBotControlRuleSet()- 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 CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder awsManagedRulesBotControlRuleSet(CfnWebACLPropsMixin.AWSManagedRulesBotControlRuleSetProperty awsManagedRulesBotControlRuleSet) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getAwsManagedRulesBotControlRuleSet()- 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 CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder loginPath(String loginPath) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getLoginPath()- Parameters:
loginPath-Instead of this setting, provide your configuration under
AWSManagedRulesATPRuleSet.- Returns:
this
-
passwordField
@Stability(Stable) public CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder passwordField(IResolvable passwordField) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getPasswordField()- Parameters:
passwordField-Instead of this setting, provide your configuration under the request inspection configuration for
AWSManagedRulesATPRuleSetorAWSManagedRulesACFPRuleSet.- Returns:
this
-
passwordField
@Stability(Stable) public CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder passwordField(CfnWebACLPropsMixin.FieldIdentifierProperty passwordField) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getPasswordField()- Parameters:
passwordField-Instead of this setting, provide your configuration under the request inspection configuration for
AWSManagedRulesATPRuleSetorAWSManagedRulesACFPRuleSet.- Returns:
this
-
payloadType
@Stability(Stable) public CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder payloadType(String payloadType) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getPayloadType()- Parameters:
payloadType-Instead of this setting, provide your configuration under the request inspection configuration for
AWSManagedRulesATPRuleSetorAWSManagedRulesACFPRuleSet.- Returns:
this
-
usernameField
@Stability(Stable) public CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder usernameField(IResolvable usernameField) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getUsernameField()- Parameters:
usernameField-Instead of this setting, provide your configuration under the request inspection configuration for
AWSManagedRulesATPRuleSetorAWSManagedRulesACFPRuleSet.- Returns:
this
-
usernameField
@Stability(Stable) public CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.Builder usernameField(CfnWebACLPropsMixin.FieldIdentifierProperty usernameField) Sets the value ofCfnWebACLPropsMixin.ManagedRuleGroupConfigProperty.getUsernameField()- Parameters:
usernameField-Instead of this setting, provide your configuration under the request inspection configuration for
AWSManagedRulesATPRuleSetorAWSManagedRulesACFPRuleSet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-