Class CfnWebACL.OnSourceDDoSProtectionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.OnSourceDDoSProtectionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.OnSourceDDoSProtectionConfigProperty>
- Enclosing interface:
CfnWebACL.OnSourceDDoSProtectionConfigProperty
@Stability(Stable)
public static final class CfnWebACL.OnSourceDDoSProtectionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.OnSourceDDoSProtectionConfigProperty>
A builder for
CfnWebACL.OnSourceDDoSProtectionConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalbLowReputationMode
(String albLowReputationMode) Sets the value ofCfnWebACL.OnSourceDDoSProtectionConfigProperty.getAlbLowReputationMode()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
albLowReputationMode
@Stability(Stable) public CfnWebACL.OnSourceDDoSProtectionConfigProperty.Builder albLowReputationMode(String albLowReputationMode) Sets the value ofCfnWebACL.OnSourceDDoSProtectionConfigProperty.getAlbLowReputationMode()
- Parameters:
albLowReputationMode
- The level of DDoS protection that applies to web ACLs associated with Application Load Balancers. This parameter is required.ACTIVE_UNDER_DDOS
protection 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_DDOS
protection automatically rate limits traffic from known low reputation sources without disrupting Application Load Balancer availability.ALWAYS_ON
protection 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnWebACL.OnSourceDDoSProtectionConfigProperty>
- Returns:
- a new instance of
CfnWebACL.OnSourceDDoSProtectionConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-