Show / Hide Table of Contents

Class CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty

Additional information that's used by a managed rule group. Many managed rule groups don't require this.

Inheritance
object
CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty
Implements
CfnWebACLPropsMixin.IManagedRuleGroupConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.WAFv2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty : CfnWebACLPropsMixin.IManagedRuleGroupConfigProperty
Syntax (vb)
Public Class CfnWebACLPropsMixin.ManagedRuleGroupConfigProperty Implements CfnWebACLPropsMixin.IManagedRuleGroupConfigProperty
Remarks

The rule groups used for intelligent threat mitigation require additional configuration:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupconfig.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.CfnPropertyMixins.AWS.WAFv2;
    
                 var managedRuleGroupConfigProperty = new ManagedRuleGroupConfigProperty {
                     AwsManagedRulesAcfpRuleSet = new AWSManagedRulesACFPRuleSetProperty {
                         CreationPath = "creationPath",
                         EnableRegexInPath = false,
                         RegistrationPagePath = "registrationPagePath",
                         RequestInspection = new RequestInspectionACFPProperty {
                             AddressFields = new [] { new FieldIdentifierProperty {
                                 Identifier = "identifier"
                             } },
                             EmailField = new FieldIdentifierProperty {
                                 Identifier = "identifier"
                             },
                             PasswordField = new FieldIdentifierProperty {
                                 Identifier = "identifier"
                             },
                             PayloadType = "payloadType",
                             PhoneNumberFields = new [] { new FieldIdentifierProperty {
                                 Identifier = "identifier"
                             } },
                             UsernameField = new FieldIdentifierProperty {
                                 Identifier = "identifier"
                             }
                         },
                         ResponseInspection = new ResponseInspectionProperty {
                             BodyContains = new ResponseInspectionBodyContainsProperty {
                                 FailureStrings = new [] { "failureStrings" },
                                 SuccessStrings = new [] { "successStrings" }
                             },
                             Header = new ResponseInspectionHeaderProperty {
                                 FailureValues = new [] { "failureValues" },
                                 Name = "name",
                                 SuccessValues = new [] { "successValues" }
                             },
                             Json = new ResponseInspectionJsonProperty {
                                 FailureValues = new [] { "failureValues" },
                                 Identifier = "identifier",
                                 SuccessValues = new [] { "successValues" }
                             },
                             StatusCode = new ResponseInspectionStatusCodeProperty {
                                 FailureCodes = new [] { 123 },
                                 SuccessCodes = new [] { 123 }
                             }
                         }
                     },
                     AwsManagedRulesAntiDDoSRuleSet = new AWSManagedRulesAntiDDoSRuleSetProperty {
                         ClientSideActionConfig = new ClientSideActionConfigProperty {
                             Challenge = new ClientSideActionProperty {
                                 ExemptUriRegularExpressions = new [] { new RegexProperty {
                                     RegexString = "regexString"
                                 } },
                                 Sensitivity = "sensitivity",
                                 UsageOfAction = "usageOfAction"
                             }
                         },
                         SensitivityToBlock = "sensitivityToBlock"
                     },
                     AwsManagedRulesAtpRuleSet = new AWSManagedRulesATPRuleSetProperty {
                         EnableRegexInPath = false,
                         LoginPath = "loginPath",
                         RequestInspection = new RequestInspectionProperty {
                             PasswordField = new FieldIdentifierProperty {
                                 Identifier = "identifier"
                             },
                             PayloadType = "payloadType",
                             UsernameField = new FieldIdentifierProperty {
                                 Identifier = "identifier"
                             }
                         },
                         ResponseInspection = new ResponseInspectionProperty {
                             BodyContains = new ResponseInspectionBodyContainsProperty {
                                 FailureStrings = new [] { "failureStrings" },
                                 SuccessStrings = new [] { "successStrings" }
                             },
                             Header = new ResponseInspectionHeaderProperty {
                                 FailureValues = new [] { "failureValues" },
                                 Name = "name",
                                 SuccessValues = new [] { "successValues" }
                             },
                             Json = new ResponseInspectionJsonProperty {
                                 FailureValues = new [] { "failureValues" },
                                 Identifier = "identifier",
                                 SuccessValues = new [] { "successValues" }
                             },
                             StatusCode = new ResponseInspectionStatusCodeProperty {
                                 FailureCodes = new [] { 123 },
                                 SuccessCodes = new [] { 123 }
                             }
                         }
                     },
                     AwsManagedRulesBotControlRuleSet = new AWSManagedRulesBotControlRuleSetProperty {
                         EnableMachineLearning = false,
                         InspectionLevel = "inspectionLevel"
                     },
                     LoginPath = "loginPath",
                     PasswordField = new FieldIdentifierProperty {
                         Identifier = "identifier"
                     },
                     PayloadType = "payloadType",
                     UsernameField = new FieldIdentifierProperty {
                         Identifier = "identifier"
                     }
                 };

    Synopsis

    Constructors

    ManagedRuleGroupConfigProperty()

    Additional information that's used by a managed rule group. Many managed rule groups don't require this.

    Properties

    AwsManagedRulesAcfpRuleSet

    Additional configuration for using the account creation fraud prevention (ACFP) managed rule group, AWSManagedRulesACFPRuleSet .

    AwsManagedRulesAntiDDoSRuleSet

    Additional configuration for using the anti-DDoS managed rule group, AWSManagedRulesAntiDDoSRuleSet .

    AwsManagedRulesAtpRuleSet

    Additional configuration for using the account takeover prevention (ATP) managed rule group, AWSManagedRulesATPRuleSet .

    AwsManagedRulesBotControlRuleSet

    Additional configuration for using the Bot Control managed rule group.

    LoginPath

    Instead of this setting, provide your configuration under AWSManagedRulesATPRuleSet .

    PasswordField

    Instead of this setting, provide your configuration under the request inspection configuration for AWSManagedRulesATPRuleSet or AWSManagedRulesACFPRuleSet .

    PayloadType

    Instead of this setting, provide your configuration under the request inspection configuration for AWSManagedRulesATPRuleSet or AWSManagedRulesACFPRuleSet .

    UsernameField

    Instead of this setting, provide your configuration under the request inspection configuration for AWSManagedRulesATPRuleSet or AWSManagedRulesACFPRuleSet .

    Constructors

    ManagedRuleGroupConfigProperty()

    Additional information that's used by a managed rule group. Many managed rule groups don't require this.

    public ManagedRuleGroupConfigProperty()
    Remarks

    The rule groups used for intelligent threat mitigation require additional configuration:

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupconfig.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.CfnPropertyMixins.AWS.WAFv2;
      
                   var managedRuleGroupConfigProperty = new ManagedRuleGroupConfigProperty {
                       AwsManagedRulesAcfpRuleSet = new AWSManagedRulesACFPRuleSetProperty {
                           CreationPath = "creationPath",
                           EnableRegexInPath = false,
                           RegistrationPagePath = "registrationPagePath",
                           RequestInspection = new RequestInspectionACFPProperty {
                               AddressFields = new [] { new FieldIdentifierProperty {
                                   Identifier = "identifier"
                               } },
                               EmailField = new FieldIdentifierProperty {
                                   Identifier = "identifier"
                               },
                               PasswordField = new FieldIdentifierProperty {
                                   Identifier = "identifier"
                               },
                               PayloadType = "payloadType",
                               PhoneNumberFields = new [] { new FieldIdentifierProperty {
                                   Identifier = "identifier"
                               } },
                               UsernameField = new FieldIdentifierProperty {
                                   Identifier = "identifier"
                               }
                           },
                           ResponseInspection = new ResponseInspectionProperty {
                               BodyContains = new ResponseInspectionBodyContainsProperty {
                                   FailureStrings = new [] { "failureStrings" },
                                   SuccessStrings = new [] { "successStrings" }
                               },
                               Header = new ResponseInspectionHeaderProperty {
                                   FailureValues = new [] { "failureValues" },
                                   Name = "name",
                                   SuccessValues = new [] { "successValues" }
                               },
                               Json = new ResponseInspectionJsonProperty {
                                   FailureValues = new [] { "failureValues" },
                                   Identifier = "identifier",
                                   SuccessValues = new [] { "successValues" }
                               },
                               StatusCode = new ResponseInspectionStatusCodeProperty {
                                   FailureCodes = new [] { 123 },
                                   SuccessCodes = new [] { 123 }
                               }
                           }
                       },
                       AwsManagedRulesAntiDDoSRuleSet = new AWSManagedRulesAntiDDoSRuleSetProperty {
                           ClientSideActionConfig = new ClientSideActionConfigProperty {
                               Challenge = new ClientSideActionProperty {
                                   ExemptUriRegularExpressions = new [] { new RegexProperty {
                                       RegexString = "regexString"
                                   } },
                                   Sensitivity = "sensitivity",
                                   UsageOfAction = "usageOfAction"
                               }
                           },
                           SensitivityToBlock = "sensitivityToBlock"
                       },
                       AwsManagedRulesAtpRuleSet = new AWSManagedRulesATPRuleSetProperty {
                           EnableRegexInPath = false,
                           LoginPath = "loginPath",
                           RequestInspection = new RequestInspectionProperty {
                               PasswordField = new FieldIdentifierProperty {
                                   Identifier = "identifier"
                               },
                               PayloadType = "payloadType",
                               UsernameField = new FieldIdentifierProperty {
                                   Identifier = "identifier"
                               }
                           },
                           ResponseInspection = new ResponseInspectionProperty {
                               BodyContains = new ResponseInspectionBodyContainsProperty {
                                   FailureStrings = new [] { "failureStrings" },
                                   SuccessStrings = new [] { "successStrings" }
                               },
                               Header = new ResponseInspectionHeaderProperty {
                                   FailureValues = new [] { "failureValues" },
                                   Name = "name",
                                   SuccessValues = new [] { "successValues" }
                               },
                               Json = new ResponseInspectionJsonProperty {
                                   FailureValues = new [] { "failureValues" },
                                   Identifier = "identifier",
                                   SuccessValues = new [] { "successValues" }
                               },
                               StatusCode = new ResponseInspectionStatusCodeProperty {
                                   FailureCodes = new [] { 123 },
                                   SuccessCodes = new [] { 123 }
                               }
                           }
                       },
                       AwsManagedRulesBotControlRuleSet = new AWSManagedRulesBotControlRuleSetProperty {
                           EnableMachineLearning = false,
                           InspectionLevel = "inspectionLevel"
                       },
                       LoginPath = "loginPath",
                       PasswordField = new FieldIdentifierProperty {
                           Identifier = "identifier"
                       },
                       PayloadType = "payloadType",
                       UsernameField = new FieldIdentifierProperty {
                           Identifier = "identifier"
                       }
                   };

      Properties

      AwsManagedRulesAcfpRuleSet

      Additional configuration for using the account creation fraud prevention (ACFP) managed rule group, AWSManagedRulesACFPRuleSet .

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

      object

      Remarks

      Use this to provide account creation request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to account creation requests.

      For information about using the ACFP managed rule group, see AWS WAF Fraud Control account creation fraud prevention (ACFP) rule group and AWS WAF Fraud Control account creation fraud prevention (ACFP) in the AWS WAF Developer Guide .

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

      Type union: either IResolvable or CfnWebACLPropsMixin.IAWSManagedRulesACFPRuleSetProperty

      AwsManagedRulesAntiDDoSRuleSet

      Additional configuration for using the anti-DDoS managed rule group, AWSManagedRulesAntiDDoSRuleSet .

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

      object

      Remarks

      Use this to configure anti-DDoS behavior for the rule group.

      For information about using the anti-DDoS managed rule group, see AWS WAF Anti-DDoS rule group and Distributed Denial of Service (DDoS) prevention in the AWS WAF Developer Guide .

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

      Type union: either IResolvable or CfnWebACLPropsMixin.IAWSManagedRulesAntiDDoSRuleSetProperty

      AwsManagedRulesAtpRuleSet

      Additional configuration for using the account takeover prevention (ATP) managed rule group, AWSManagedRulesATPRuleSet .

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

      object

      Remarks

      Use this to provide login request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to login requests.

      This configuration replaces the individual configuration fields in ManagedRuleGroupConfig and provides additional feature configuration.

      For information about using the ATP managed rule group, see AWS WAF Fraud Control account takeover prevention (ATP) rule group and AWS WAF Fraud Control account takeover prevention (ATP) in the AWS WAF Developer Guide .

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

      Type union: either IResolvable or CfnWebACLPropsMixin.IAWSManagedRulesATPRuleSetProperty

      AwsManagedRulesBotControlRuleSet

      Additional configuration for using the Bot Control managed rule group.

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

      object

      Remarks

      Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see AWS WAF Bot Control rule group and AWS WAF Bot Control in the AWS WAF Developer Guide .

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

      Type union: either IResolvable or CfnWebACLPropsMixin.IAWSManagedRulesBotControlRuleSetProperty

      LoginPath

      Instead of this setting, provide your configuration under AWSManagedRulesATPRuleSet .

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

      string

      Remarks

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

      PasswordField

      Instead of this setting, provide your configuration under the request inspection configuration for AWSManagedRulesATPRuleSet or AWSManagedRulesACFPRuleSet .

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

      object

      Remarks

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

      Type union: either IResolvable or CfnWebACLPropsMixin.IFieldIdentifierProperty

      PayloadType

      Instead of this setting, provide your configuration under the request inspection configuration for AWSManagedRulesATPRuleSet or AWSManagedRulesACFPRuleSet .

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

      string

      Remarks

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

      UsernameField

      Instead of this setting, provide your configuration under the request inspection configuration for AWSManagedRulesATPRuleSet or AWSManagedRulesACFPRuleSet .

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

      object

      Remarks

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

      Type union: either IResolvable or CfnWebACLPropsMixin.IFieldIdentifierProperty

      Implements

      CfnWebACLPropsMixin.IManagedRuleGroupConfigProperty
      Back to top Generated by DocFX