Class CfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty>
- Enclosing interface:
CfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty>
A builder for
CfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalbLowReputationMode(String albLowReputationMode) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
albLowReputationMode
@Stability(Stable) public CfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty.Builder albLowReputationMode(String albLowReputationMode) Sets the value ofCfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty.getAlbLowReputationMode()- Parameters:
albLowReputationMode- The level of DDoS protection that applies to web ACLs associated with Application Load Balancers.ACTIVE_UNDER_DDOSprotection is enabled by default whenever a web ACL is associated with an Application Load Balancer. In the event that an Application Load Balancer experiences high-load conditions or suspected DDoS attacks, theACTIVE_UNDER_DDOSprotection automatically rate limits traffic from known low reputation sources without disrupting Application Load Balancer availability.ALWAYS_ONprotection provides constant, always-on monitoring of known low reputation sources for suspected DDoS attacks. While this provides a higher level of protection, there may be potential impacts on legitimate traffic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.OnSourceDDoSProtectionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-