Class CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.shield.CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty>
- Enclosing interface:
CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty
@Stability(Stable)
public static final class CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction(IResolvable action) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty.Builder action(IResolvable action) Sets the value ofCfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty.getAction()- Parameters:
action- Specifies the action setting that Shield Advanced should use in the AWS WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the AWS WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.- Returns:
this
-
action
@Stability(Stable) public CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty.Builder action(CfnProtectionPropsMixin.ActionProperty action) Sets the value ofCfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty.getAction()- Parameters:
action- Specifies the action setting that Shield Advanced should use in the AWS WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the AWS WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.- Returns:
this
-
status
@Stability(Stable) public CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty.Builder status(String status) Sets the value ofCfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty.getStatus()- Parameters:
status- Indicates whether automatic application layer DDoS mitigation is enabled for the protection.- Returns:
this
-
build
@Stability(Stable) public CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty>- Returns:
- a new instance of
CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-