Class CfnWebACL.AWSManagedRulesAntiDDoSRuleSetProperty
Configures the use of the anti-DDoS managed rule group, AWSManagedRulesAntiDDoSRuleSet . This configuration is used in ManagedRuleGroupConfig .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWebACL.AWSManagedRulesAntiDDoSRuleSetProperty : CfnWebACL.IAWSManagedRulesAntiDDoSRuleSetProperty
Syntax (vb)
Public Class CfnWebACL.AWSManagedRulesAntiDDoSRuleSetProperty Implements CfnWebACL.IAWSManagedRulesAntiDDoSRuleSetProperty
Remarks
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 .
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.AWS.WAFv2;
var aWSManagedRulesAntiDDoSRuleSetProperty = new AWSManagedRulesAntiDDoSRuleSetProperty {
ClientSideActionConfig = new ClientSideActionConfigProperty {
Challenge = new ClientSideActionProperty {
UsageOfAction = "usageOfAction",
// the properties below are optional
ExemptUriRegularExpressions = new [] { new RegexProperty {
RegexString = "regexString"
} },
Sensitivity = "sensitivity"
}
},
// the properties below are optional
SensitivityToBlock = "sensitivityToBlock"
};
Synopsis
Constructors
| AWSManagedRulesAntiDDoSRuleSetProperty() | Configures the use of the anti-DDoS managed rule group, |
Properties
| ClientSideActionConfig | Configures the request handling that's applied by the managed rule group rules |
| SensitivityToBlock | The sensitivity that the rule group rule |
Constructors
AWSManagedRulesAntiDDoSRuleSetProperty()
Configures the use of the anti-DDoS managed rule group, AWSManagedRulesAntiDDoSRuleSet . This configuration is used in ManagedRuleGroupConfig .
public AWSManagedRulesAntiDDoSRuleSetProperty()
Remarks
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 .
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.AWS.WAFv2;
var aWSManagedRulesAntiDDoSRuleSetProperty = new AWSManagedRulesAntiDDoSRuleSetProperty {
ClientSideActionConfig = new ClientSideActionConfigProperty {
Challenge = new ClientSideActionProperty {
UsageOfAction = "usageOfAction",
// the properties below are optional
ExemptUriRegularExpressions = new [] { new RegexProperty {
RegexString = "regexString"
} },
Sensitivity = "sensitivity"
}
},
// the properties below are optional
SensitivityToBlock = "sensitivityToBlock"
};
Properties
ClientSideActionConfig
Configures the request handling that's applied by the managed rule group rules ChallengeAllDuringEvent and ChallengeDDoSRequests during a distributed denial of service (DDoS) attack.
public object ClientSideActionConfig { get; set; }
Property Value
Remarks
SensitivityToBlock
The sensitivity that the rule group rule DDoSRequests uses when matching against the DDoS suspicion labeling on a request.
public string? SensitivityToBlock { get; set; }
Property Value
Remarks
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:
Default: LOW