Package services.shield
Class CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty.Builder
java.lang.Object
services.shield.CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty>
- Enclosing interface:
CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty
@Stability(Stable)
public static final class CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction
(CfnProtection.ActionProperty action) action
(IResolvable action) build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty.Builder action(IResolvable action) - 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. This parameter is required. 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 CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty.Builder action(CfnProtection.ActionProperty action) - 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. This parameter is required. 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 CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty.Builder status(String status) - Parameters:
status
- Indicates whether automatic application layer DDoS mitigation is enabled for the protection. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty>
- Returns:
- a new instance of
CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-