Class CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty>
- Enclosing interface:
CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientSideActionConfig(CfnWebACLPropsMixin.ClientSideActionConfigProperty clientSideActionConfig) clientSideActionConfig(IResolvable clientSideActionConfig) sensitivityToBlock(String sensitivityToBlock)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientSideActionConfig
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty.Builder clientSideActionConfig(IResolvable clientSideActionConfig) Sets the value ofCfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty.getClientSideActionConfig()- Parameters:
clientSideActionConfig- Configures the request handling that's applied by the managed rule group rulesChallengeAllDuringEventandChallengeDDoSRequestsduring a distributed denial of service (DDoS) attack.- Returns:
this
-
clientSideActionConfig
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty.Builder clientSideActionConfig(CfnWebACLPropsMixin.ClientSideActionConfigProperty clientSideActionConfig) Sets the value ofCfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty.getClientSideActionConfig()- Parameters:
clientSideActionConfig- Configures the request handling that's applied by the managed rule group rulesChallengeAllDuringEventandChallengeDDoSRequestsduring a distributed denial of service (DDoS) attack.- Returns:
this
-
sensitivityToBlock
@Stability(Stable) public CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty.Builder sensitivityToBlock(String sensitivityToBlock) Sets the value ofCfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty.getSensitivityToBlock()- Parameters:
sensitivityToBlock- The sensitivity that the rule group ruleDDoSRequestsuses when matching against the DDoS suspicion labeling on a request. The managed rule group adds the labeling during DDoS events, before theDDoSRequestsrule runs.The higher the sensitivity, the more levels of labeling that the rule matches:
- Low sensitivity is less sensitive, causing the rule to match only on the most likely participants in an attack, which are the requests with the high suspicion label
awswaf:managed:aws:anti-ddos:high-suspicion-ddos-request. - Medium sensitivity causes the rule to match on the medium and high suspicion labels.
- High sensitivity causes the rule to match on all of the suspicion labels: low, medium, and high.
Default:
LOW- Low sensitivity is less sensitive, causing the rule to match only on the most likely participants in an attack, which are the requests with the high suspicion label
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.AWSManagedRulesAntiDDoSRuleSetProperty - Throws:
NullPointerException- if any required attribute was not provided
-