Show / Hide Table of Contents

Class CfnProtectionMixinProps

Properties for CfnProtectionPropsMixin.

Inheritance
object
CfnProtectionMixinProps
Implements
ICfnProtectionMixinProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Shield.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnProtectionMixinProps : ICfnProtectionMixinProps
Syntax (vb)
Public Class CfnProtectionMixinProps Implements ICfnProtectionMixinProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-shield-protection.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.Shield.Mixins;

             var block;
             var count;

             var cfnProtectionMixinProps = new CfnProtectionMixinProps {
                 ApplicationLayerAutomaticResponseConfiguration = new ApplicationLayerAutomaticResponseConfigurationProperty {
                     Action = new ActionProperty {
                         Block = block,
                         Count = count
                     },
                     Status = "status"
                 },
                 HealthCheckArns = new [] { "healthCheckArns" },
                 Name = "name",
                 ResourceArn = "resourceArn",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnProtectionMixinProps()

Properties for CfnProtectionPropsMixin.

Properties

ApplicationLayerAutomaticResponseConfiguration

The automatic application layer DDoS mitigation settings for the protection.

HealthCheckArns

The ARN (Amazon Resource Name) of the health check to associate with the protection.

Name

The name of the protection. For example, My CloudFront distributions .

ResourceArn

The ARN (Amazon Resource Name) of the AWS resource that is protected.

Tags

Key:value pairs associated with an AWS resource.

Constructors

CfnProtectionMixinProps()

Properties for CfnProtectionPropsMixin.

public CfnProtectionMixinProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-shield-protection.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.Shield.Mixins;

             var block;
             var count;

             var cfnProtectionMixinProps = new CfnProtectionMixinProps {
                 ApplicationLayerAutomaticResponseConfiguration = new ApplicationLayerAutomaticResponseConfigurationProperty {
                     Action = new ActionProperty {
                         Block = block,
                         Count = count
                     },
                     Status = "status"
                 },
                 HealthCheckArns = new [] { "healthCheckArns" },
                 Name = "name",
                 ResourceArn = "resourceArn",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

ApplicationLayerAutomaticResponseConfiguration

The automatic application layer DDoS mitigation settings for the protection.

public object? ApplicationLayerAutomaticResponseConfiguration { get; set; }
Property Value

object

Remarks

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::WebACL resource description.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-shield-protection.html#cfn-shield-protection-applicationlayerautomaticresponseconfiguration

Type union: either IResolvable or CfnProtectionPropsMixin.IApplicationLayerAutomaticResponseConfigurationProperty

HealthCheckArns

The ARN (Amazon Resource Name) of the health check to associate with the protection.

public string[]? HealthCheckArns { get; set; }
Property Value

string[]

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-shield-protection.html#cfn-shield-protection-healthcheckarns

Name

The name of the protection. For example, My CloudFront distributions .

public string? Name { get; set; }
Property Value

string

Remarks
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-shield-protection.html#cfn-shield-protection-name

ResourceArn

The ARN (Amazon Resource Name) of the AWS resource that is protected.

public string? ResourceArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-shield-protection.html#cfn-shield-protection-resourcearn

Tags

Key:value pairs associated with an AWS resource.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-shield-protection.html#cfn-shield-protection-tags

Implements

ICfnProtectionMixinProps
Back to top Generated by DocFX