Interface CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnProtection
@Stability(Stable)
public static interface CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The automatic application layer DDoS mitigation settings for a
Protection
.
This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.shield.*; Object block; Object count; ApplicationLayerAutomaticResponseConfigurationProperty applicationLayerAutomaticResponseConfigurationProperty = ApplicationLayerAutomaticResponseConfigurationProperty.builder() .action(ActionProperty.builder() .block(block) .count(count) .build()) .status("status") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
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.Indicates whether automatic application layer DDoS mitigation is enabled for the protection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
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.
-
getStatus
Indicates whether automatic application layer DDoS mitigation is enabled for the protection. -
builder
@Stability(Stable) static CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty.Builder builder()
-