aws-cdk-lib.aws_shield.CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty

interface ApplicationLayerAutomaticResponseConfigurationProperty

LanguageType name
.NETAmazon.CDK.aws_shield.CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsshield#CfnProtection_ApplicationLayerAutomaticResponseConfigurationProperty
Javaservices.shield.CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty
Pythonaws_cdk.aws_shield.CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty
TypeScript aws-cdk-lib » aws_shield » CfnProtection » ApplicationLayerAutomaticResponseConfigurationProperty

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 { aws_shield as shield } from 'aws-cdk-lib';

declare const block: any;
declare const count: any;
const applicationLayerAutomaticResponseConfigurationProperty: shield.CfnProtection.ApplicationLayerAutomaticResponseConfigurationProperty = {
  action: {
    block: block,
    count: count,
  },
  status: 'status',
};

Properties

NameTypeDescription
actionIResolvable | ActionPropertySpecifies 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.
statusstringIndicates whether automatic application layer DDoS mitigation is enabled for the protection.

action

Type: IResolvable | ActionProperty

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.


status

Type: string

Indicates whether automatic application layer DDoS mitigation is enabled for the protection.