Show / Hide Table of Contents

Class CfnWebACL.AWSManagedRulesAntiDDoSRuleSetProperty

Configures the use of the anti-DDoS managed rule group, AWSManagedRulesAntiDDoSRuleSet . This configuration is used in ManagedRuleGroupConfig .

Inheritance
object
CfnWebACL.AWSManagedRulesAntiDDoSRuleSetProperty
Implements
CfnWebACL.IAWSManagedRulesAntiDDoSRuleSetProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-awsmanagedrulesantiddosruleset.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.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, AWSManagedRulesAntiDDoSRuleSet . This configuration is used in ManagedRuleGroupConfig .

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.

SensitivityToBlock

The sensitivity that the rule group rule DDoSRequests uses when matching against the DDoS suspicion labeling on a request.

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-awsmanagedrulesantiddosruleset.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.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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-awsmanagedrulesantiddosruleset.html#cfn-wafv2-webacl-awsmanagedrulesantiddosruleset-clientsideactionconfig

Type union: either IResolvable or CfnWebACL.IClientSideActionConfigProperty

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

string

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

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-awsmanagedrulesantiddosruleset.html#cfn-wafv2-webacl-awsmanagedrulesantiddosruleset-sensitivitytoblock

    Implements

    CfnWebACL.IAWSManagedRulesAntiDDoSRuleSetProperty
    Back to top Generated by DocFX