Class CfnProtectionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProtectionPropsMixin>
- Enclosing class:
CfnProtectionPropsMixin
CfnProtectionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionapplicationLayerAutomaticResponseConfiguration(CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty applicationLayerAutomaticResponseConfiguration) The automatic application layer DDoS mitigation settings for the protection.applicationLayerAutomaticResponseConfiguration(IResolvable applicationLayerAutomaticResponseConfiguration) The automatic application layer DDoS mitigation settings for the protection.build()create()create(CfnPropertyMixinOptions options) healthCheckArns(List<String> healthCheckArns) The ARN (Amazon Resource Name) of the health check to associate with the protection.The name of the protection.resourceArn(String resourceArn) The ARN (Amazon Resource Name) of the AWS resource that is protected.Key:value pairs associated with an AWS resource.
-
Method Details
-
create
@Stability(Stable) public static CfnProtectionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnProtectionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnProtectionPropsMixin.Builder.
-
applicationLayerAutomaticResponseConfiguration
@Stability(Stable) public CfnProtectionPropsMixin.Builder applicationLayerAutomaticResponseConfiguration(IResolvable applicationLayerAutomaticResponseConfiguration) The automatic application layer DDoS mitigation settings for the 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.
If you use CloudFormation to manage the web ACLs that you use with Shield Advanced automatic mitigation, see the additional guidance about web ACL management in the
AWS::WAFv2::WebACLresource description.- Parameters:
applicationLayerAutomaticResponseConfiguration- The automatic application layer DDoS mitigation settings for the protection. This parameter is required.- Returns:
this- See Also:
-
applicationLayerAutomaticResponseConfiguration
@Stability(Stable) public CfnProtectionPropsMixin.Builder applicationLayerAutomaticResponseConfiguration(CfnProtectionPropsMixin.ApplicationLayerAutomaticResponseConfigurationProperty applicationLayerAutomaticResponseConfiguration) The automatic application layer DDoS mitigation settings for the 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.
If you use CloudFormation to manage the web ACLs that you use with Shield Advanced automatic mitigation, see the additional guidance about web ACL management in the
AWS::WAFv2::WebACLresource description.- Parameters:
applicationLayerAutomaticResponseConfiguration- The automatic application layer DDoS mitigation settings for the protection. This parameter is required.- Returns:
this- See Also:
-
healthCheckArns
@Stability(Stable) public CfnProtectionPropsMixin.Builder healthCheckArns(List<String> healthCheckArns) The ARN (Amazon Resource Name) of the health check to associate with the protection.Health-based detection provides improved responsiveness and accuracy in attack detection and mitigation.
You can use this option with any resource type except for RouteĀ 53 hosted zones.
For more information, see Configuring health-based detection using health checks in the AWS Shield Advanced Developer Guide .
- Parameters:
healthCheckArns- The ARN (Amazon Resource Name) of the health check to associate with the protection. This parameter is required.- Returns:
this- See Also:
-
name
The name of the protection. For example,My CloudFront distributions.If you change the name of an existing protection, Shield Advanced deletes the protection and replaces it with a new one. While this is happening, the protection isn't available on the AWS resource.
- Parameters:
name- The name of the protection. For example,My CloudFront distributions. This parameter is required.- Returns:
this- See Also:
-
resourceArn
The ARN (Amazon Resource Name) of the AWS resource that is protected.- Parameters:
resourceArn- The ARN (Amazon Resource Name) of the AWS resource that is protected. This parameter is required.- Returns:
this- See Also:
-
tags
Key:value pairs associated with an AWS resource.The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
- Parameters:
tags- Key:value pairs associated with an AWS resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProtectionPropsMixin>- Returns:
- a newly built instance of
CfnProtectionPropsMixin.
-