interface AWSManagedRulesAntiDDoSRuleSetProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.WAFv2.CfnWebACL.AWSManagedRulesAntiDDoSRuleSetProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnWebACL_AWSManagedRulesAntiDDoSRuleSetProperty |
![]() | software.amazon.awscdk.services.wafv2.CfnWebACL.AWSManagedRulesAntiDDoSRuleSetProperty |
![]() | aws_cdk.aws_wafv2.CfnWebACL.AWSManagedRulesAntiDDoSRuleSetProperty |
![]() | aws-cdk-lib » aws_wafv2 » CfnWebACL » AWSManagedRulesAntiDDoSRuleSetProperty |
Configures the use of the anti-DDoS managed rule group, AWSManagedRulesAntiDDoSRuleSet
. This configuration is used in ManagedRuleGroupConfig
.
The configuration that you provide here determines whether and how the rules in the rule group are used.
For additional information about this and the other intelligent threat mitigation rule groups, see Intelligent threat mitigation in AWS WAF and AWS Managed Rules rule groups list in the AWS WAF Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const aWSManagedRulesAntiDDoSRuleSetProperty: wafv2.CfnWebACL.AWSManagedRulesAntiDDoSRuleSetProperty = {
clientSideActionConfig: {
challenge: {
usageOfAction: 'usageOfAction',
// the properties below are optional
exemptUriRegularExpressions: [{
regexString: 'regexString',
}],
sensitivity: 'sensitivity',
},
},
// the properties below are optional
sensitivityToBlock: 'sensitivityToBlock',
};
Properties
Name | Type | Description |
---|---|---|
client | IResolvable | Client | Configures the request handling that's applied by the managed rule group rules ChallengeAllDuringEvent and ChallengeDDoSRequests during a distributed denial of service (DDoS) attack. |
sensitivity | string | The sensitivity that the rule group rule DDoSRequests uses when matching against the DDoS suspicion labeling on a request. |
clientSideActionConfig
Type:
IResolvable
|
Client
Configures the request handling that's applied by the managed rule group rules ChallengeAllDuringEvent
and ChallengeDDoSRequests
during a distributed denial of service (DDoS) attack.
sensitivityToBlock?
Type:
string
(optional)
The sensitivity that the rule group rule DDoSRequests
uses when matching against the DDoS suspicion labeling on a request.
The managed rule group adds the labeling during DDoS events, before the DDoSRequests
rule runs.
The higher the sensitivity, the more levels of labeling that the rule matches:
- Low sensitivity is less sensitive, causing the rule to match only on the most likely participants in an attack, which are the requests with the high suspicion label
awswaf:managed:aws:anti-ddos:high-suspicion-ddos-request
. - Medium sensitivity causes the rule to match on the medium and high suspicion labels.
- High sensitivity causes the rule to match on all of the suspicion labels: low, medium, and high.
Default: LOW