Interface CfnWebACL.ManagedRuleGroupStatementProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnWebACL.ManagedRuleGroupStatementProperty.Jsii$Proxy
Enclosing class:
CfnWebACL

@Stability(Stable) public static interface CfnWebACL.ManagedRuleGroupStatementProperty extends software.amazon.jsii.JsiiSerializable
A rule statement used to run the rules that are defined in a managed rule group.

To use this, provide the vendor name and the name of the rule group in this statement.

You cannot nest a ManagedRuleGroupStatement , for example for use inside a NotStatement or OrStatement . It can only be referenced as a top-level statement within a rule.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.wafv2.*;
 Object all;
 Object allQueryArguments;
 Object method;
 Object queryString;
 Object singleHeader;
 Object singleQueryArgument;
 StatementProperty statementProperty_;
 Object uriPath;
 ManagedRuleGroupStatementProperty managedRuleGroupStatementProperty = ManagedRuleGroupStatementProperty.builder()
         .name("name")
         .vendorName("vendorName")
         // the properties below are optional
         .excludedRules(List.of(ExcludedRuleProperty.builder()
                 .name("name")
                 .build()))
         .managedRuleGroupConfigs(List.of(ManagedRuleGroupConfigProperty.builder()
                 .awsManagedRulesAtpRuleSet(AWSManagedRulesATPRuleSetProperty.builder()
                         .loginPath("loginPath")
                         // the properties below are optional
                         .requestInspection(RequestInspectionProperty.builder()
                                 .passwordField(FieldIdentifierProperty.builder()
                                         .identifier("identifier")
                                         .build())
                                 .payloadType("payloadType")
                                 .usernameField(FieldIdentifierProperty.builder()
                                         .identifier("identifier")
                                         .build())
                                 .build())
                         .responseInspection(ResponseInspectionProperty.builder()
                                 .bodyContains(ResponseInspectionBodyContainsProperty.builder()
                                         .failureStrings(List.of("failureStrings"))
                                         .successStrings(List.of("successStrings"))
                                         .build())
                                 .header(ResponseInspectionHeaderProperty.builder()
                                         .failureValues(List.of("failureValues"))
                                         .name("name")
                                         .successValues(List.of("successValues"))
                                         .build())
                                 .json(ResponseInspectionJsonProperty.builder()
                                         .failureValues(List.of("failureValues"))
                                         .identifier("identifier")
                                         .successValues(List.of("successValues"))
                                         .build())
                                 .statusCode(ResponseInspectionStatusCodeProperty.builder()
                                         .failureCodes(List.of(123))
                                         .successCodes(List.of(123))
                                         .build())
                                 .build())
                         .build())
                 .awsManagedRulesBotControlRuleSet(AWSManagedRulesBotControlRuleSetProperty.builder()
                         .inspectionLevel("inspectionLevel")
                         .build())
                 .loginPath("loginPath")
                 .passwordField(FieldIdentifierProperty.builder()
                         .identifier("identifier")
                         .build())
                 .payloadType("payloadType")
                 .usernameField(FieldIdentifierProperty.builder()
                         .identifier("identifier")
                         .build())
                 .build()))
         .ruleActionOverrides(List.of(RuleActionOverrideProperty.builder()
                 .actionToUse(RuleActionProperty.builder()
                         .allow(AllowActionProperty.builder()
                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                 .name("name")
                                                 .value("value")
                                                 .build()))
                                         .build())
                                 .build())
                         .block(BlockActionProperty.builder()
                                 .customResponse(CustomResponseProperty.builder()
                                         .responseCode(123)
                                         // the properties below are optional
                                         .customResponseBodyKey("customResponseBodyKey")
                                         .responseHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                 .name("name")
                                                 .value("value")
                                                 .build()))
                                         .build())
                                 .build())
                         .captcha(CaptchaActionProperty.builder()
                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                 .name("name")
                                                 .value("value")
                                                 .build()))
                                         .build())
                                 .build())
                         .challenge(ChallengeActionProperty.builder()
                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                 .name("name")
                                                 .value("value")
                                                 .build()))
                                         .build())
                                 .build())
                         .count(CountActionProperty.builder()
                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                 .name("name")
                                                 .value("value")
                                                 .build()))
                                         .build())
                                 .build())
                         .build())
                 .name("name")
                 .build()))
         .scopeDownStatement(StatementProperty.builder()
                 .andStatement(AndStatementProperty.builder()
                         .statements(List.of(statementProperty_))
                         .build())
                 .byteMatchStatement(ByteMatchStatementProperty.builder()
                         .fieldToMatch(FieldToMatchProperty.builder()
                                 .allQueryArguments(allQueryArguments)
                                 .body(BodyProperty.builder()
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .cookies(CookiesProperty.builder()
                                         .matchPattern(CookieMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedCookies(List.of("excludedCookies"))
                                                 .includedCookies(List.of("includedCookies"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .headers(HeadersProperty.builder()
                                         .matchPattern(HeaderMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedHeaders(List.of("excludedHeaders"))
                                                 .includedHeaders(List.of("includedHeaders"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .jsonBody(JsonBodyProperty.builder()
                                         .matchPattern(JsonMatchPatternProperty.builder()
                                                 .all(all)
                                                 .includedPaths(List.of("includedPaths"))
                                                 .build())
                                         .matchScope("matchScope")
                                         // the properties below are optional
                                         .invalidFallbackBehavior("invalidFallbackBehavior")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .method(method)
                                 .queryString(queryString)
                                 .singleHeader(singleHeader)
                                 .singleQueryArgument(singleQueryArgument)
                                 .uriPath(uriPath)
                                 .build())
                         .positionalConstraint("positionalConstraint")
                         .textTransformations(List.of(TextTransformationProperty.builder()
                                 .priority(123)
                                 .type("type")
                                 .build()))
                         // the properties below are optional
                         .searchString("searchString")
                         .searchStringBase64("searchStringBase64")
                         .build())
                 .geoMatchStatement(GeoMatchStatementProperty.builder()
                         .countryCodes(List.of("countryCodes"))
                         .forwardedIpConfig(ForwardedIPConfigurationProperty.builder()
                                 .fallbackBehavior("fallbackBehavior")
                                 .headerName("headerName")
                                 .build())
                         .build())
                 .ipSetReferenceStatement(Map.of(
                         "arn", "arn",
                         // the properties below are optional
                         "ipSetForwardedIpConfig", Map.of(
                                 "fallbackBehavior", "fallbackBehavior",
                                 "headerName", "headerName",
                                 "position", "position")))
                 .labelMatchStatement(LabelMatchStatementProperty.builder()
                         .key("key")
                         .scope("scope")
                         .build())
                 .managedRuleGroupStatement(ManagedRuleGroupStatementProperty.builder()
                         .name("name")
                         .vendorName("vendorName")
                         // the properties below are optional
                         .excludedRules(List.of(ExcludedRuleProperty.builder()
                                 .name("name")
                                 .build()))
                         .managedRuleGroupConfigs(List.of(ManagedRuleGroupConfigProperty.builder()
                                 .awsManagedRulesAtpRuleSet(AWSManagedRulesATPRuleSetProperty.builder()
                                         .loginPath("loginPath")
                                         // the properties below are optional
                                         .requestInspection(RequestInspectionProperty.builder()
                                                 .passwordField(FieldIdentifierProperty.builder()
                                                         .identifier("identifier")
                                                         .build())
                                                 .payloadType("payloadType")
                                                 .usernameField(FieldIdentifierProperty.builder()
                                                         .identifier("identifier")
                                                         .build())
                                                 .build())
                                         .responseInspection(ResponseInspectionProperty.builder()
                                                 .bodyContains(ResponseInspectionBodyContainsProperty.builder()
                                                         .failureStrings(List.of("failureStrings"))
                                                         .successStrings(List.of("successStrings"))
                                                         .build())
                                                 .header(ResponseInspectionHeaderProperty.builder()
                                                         .failureValues(List.of("failureValues"))
                                                         .name("name")
                                                         .successValues(List.of("successValues"))
                                                         .build())
                                                 .json(ResponseInspectionJsonProperty.builder()
                                                         .failureValues(List.of("failureValues"))
                                                         .identifier("identifier")
                                                         .successValues(List.of("successValues"))
                                                         .build())
                                                 .statusCode(ResponseInspectionStatusCodeProperty.builder()
                                                         .failureCodes(List.of(123))
                                                         .successCodes(List.of(123))
                                                         .build())
                                                 .build())
                                         .build())
                                 .awsManagedRulesBotControlRuleSet(AWSManagedRulesBotControlRuleSetProperty.builder()
                                         .inspectionLevel("inspectionLevel")
                                         .build())
                                 .loginPath("loginPath")
                                 .passwordField(FieldIdentifierProperty.builder()
                                         .identifier("identifier")
                                         .build())
                                 .payloadType("payloadType")
                                 .usernameField(FieldIdentifierProperty.builder()
                                         .identifier("identifier")
                                         .build())
                                 .build()))
                         .ruleActionOverrides(List.of(RuleActionOverrideProperty.builder()
                                 .actionToUse(RuleActionProperty.builder()
                                         .allow(AllowActionProperty.builder()
                                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                                 .name("name")
                                                                 .value("value")
                                                                 .build()))
                                                         .build())
                                                 .build())
                                         .block(BlockActionProperty.builder()
                                                 .customResponse(CustomResponseProperty.builder()
                                                         .responseCode(123)
                                                         // the properties below are optional
                                                         .customResponseBodyKey("customResponseBodyKey")
                                                         .responseHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                                 .name("name")
                                                                 .value("value")
                                                                 .build()))
                                                         .build())
                                                 .build())
                                         .captcha(CaptchaActionProperty.builder()
                                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                                 .name("name")
                                                                 .value("value")
                                                                 .build()))
                                                         .build())
                                                 .build())
                                         .challenge(ChallengeActionProperty.builder()
                                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                                 .name("name")
                                                                 .value("value")
                                                                 .build()))
                                                         .build())
                                                 .build())
                                         .count(CountActionProperty.builder()
                                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                                 .name("name")
                                                                 .value("value")
                                                                 .build()))
                                                         .build())
                                                 .build())
                                         .build())
                                 .name("name")
                                 .build()))
                         .scopeDownStatement(statementProperty_)
                         .version("version")
                         .build())
                 .notStatement(NotStatementProperty.builder()
                         .statement(statementProperty_)
                         .build())
                 .orStatement(OrStatementProperty.builder()
                         .statements(List.of(statementProperty_))
                         .build())
                 .rateBasedStatement(RateBasedStatementProperty.builder()
                         .aggregateKeyType("aggregateKeyType")
                         .limit(123)
                         // the properties below are optional
                         .forwardedIpConfig(ForwardedIPConfigurationProperty.builder()
                                 .fallbackBehavior("fallbackBehavior")
                                 .headerName("headerName")
                                 .build())
                         .scopeDownStatement(statementProperty_)
                         .build())
                 .regexMatchStatement(RegexMatchStatementProperty.builder()
                         .fieldToMatch(FieldToMatchProperty.builder()
                                 .allQueryArguments(allQueryArguments)
                                 .body(BodyProperty.builder()
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .cookies(CookiesProperty.builder()
                                         .matchPattern(CookieMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedCookies(List.of("excludedCookies"))
                                                 .includedCookies(List.of("includedCookies"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .headers(HeadersProperty.builder()
                                         .matchPattern(HeaderMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedHeaders(List.of("excludedHeaders"))
                                                 .includedHeaders(List.of("includedHeaders"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .jsonBody(JsonBodyProperty.builder()
                                         .matchPattern(JsonMatchPatternProperty.builder()
                                                 .all(all)
                                                 .includedPaths(List.of("includedPaths"))
                                                 .build())
                                         .matchScope("matchScope")
                                         // the properties below are optional
                                         .invalidFallbackBehavior("invalidFallbackBehavior")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .method(method)
                                 .queryString(queryString)
                                 .singleHeader(singleHeader)
                                 .singleQueryArgument(singleQueryArgument)
                                 .uriPath(uriPath)
                                 .build())
                         .regexString("regexString")
                         .textTransformations(List.of(TextTransformationProperty.builder()
                                 .priority(123)
                                 .type("type")
                                 .build()))
                         .build())
                 .regexPatternSetReferenceStatement(RegexPatternSetReferenceStatementProperty.builder()
                         .arn("arn")
                         .fieldToMatch(FieldToMatchProperty.builder()
                                 .allQueryArguments(allQueryArguments)
                                 .body(BodyProperty.builder()
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .cookies(CookiesProperty.builder()
                                         .matchPattern(CookieMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedCookies(List.of("excludedCookies"))
                                                 .includedCookies(List.of("includedCookies"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .headers(HeadersProperty.builder()
                                         .matchPattern(HeaderMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedHeaders(List.of("excludedHeaders"))
                                                 .includedHeaders(List.of("includedHeaders"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .jsonBody(JsonBodyProperty.builder()
                                         .matchPattern(JsonMatchPatternProperty.builder()
                                                 .all(all)
                                                 .includedPaths(List.of("includedPaths"))
                                                 .build())
                                         .matchScope("matchScope")
                                         // the properties below are optional
                                         .invalidFallbackBehavior("invalidFallbackBehavior")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .method(method)
                                 .queryString(queryString)
                                 .singleHeader(singleHeader)
                                 .singleQueryArgument(singleQueryArgument)
                                 .uriPath(uriPath)
                                 .build())
                         .textTransformations(List.of(TextTransformationProperty.builder()
                                 .priority(123)
                                 .type("type")
                                 .build()))
                         .build())
                 .ruleGroupReferenceStatement(RuleGroupReferenceStatementProperty.builder()
                         .arn("arn")
                         // the properties below are optional
                         .excludedRules(List.of(ExcludedRuleProperty.builder()
                                 .name("name")
                                 .build()))
                         .ruleActionOverrides(List.of(RuleActionOverrideProperty.builder()
                                 .actionToUse(RuleActionProperty.builder()
                                         .allow(AllowActionProperty.builder()
                                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                                 .name("name")
                                                                 .value("value")
                                                                 .build()))
                                                         .build())
                                                 .build())
                                         .block(BlockActionProperty.builder()
                                                 .customResponse(CustomResponseProperty.builder()
                                                         .responseCode(123)
                                                         // the properties below are optional
                                                         .customResponseBodyKey("customResponseBodyKey")
                                                         .responseHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                                 .name("name")
                                                                 .value("value")
                                                                 .build()))
                                                         .build())
                                                 .build())
                                         .captcha(CaptchaActionProperty.builder()
                                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                                 .name("name")
                                                                 .value("value")
                                                                 .build()))
                                                         .build())
                                                 .build())
                                         .challenge(ChallengeActionProperty.builder()
                                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                                 .name("name")
                                                                 .value("value")
                                                                 .build()))
                                                         .build())
                                                 .build())
                                         .count(CountActionProperty.builder()
                                                 .customRequestHandling(CustomRequestHandlingProperty.builder()
                                                         .insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
                                                                 .name("name")
                                                                 .value("value")
                                                                 .build()))
                                                         .build())
                                                 .build())
                                         .build())
                                 .name("name")
                                 .build()))
                         .build())
                 .sizeConstraintStatement(SizeConstraintStatementProperty.builder()
                         .comparisonOperator("comparisonOperator")
                         .fieldToMatch(FieldToMatchProperty.builder()
                                 .allQueryArguments(allQueryArguments)
                                 .body(BodyProperty.builder()
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .cookies(CookiesProperty.builder()
                                         .matchPattern(CookieMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedCookies(List.of("excludedCookies"))
                                                 .includedCookies(List.of("includedCookies"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .headers(HeadersProperty.builder()
                                         .matchPattern(HeaderMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedHeaders(List.of("excludedHeaders"))
                                                 .includedHeaders(List.of("includedHeaders"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .jsonBody(JsonBodyProperty.builder()
                                         .matchPattern(JsonMatchPatternProperty.builder()
                                                 .all(all)
                                                 .includedPaths(List.of("includedPaths"))
                                                 .build())
                                         .matchScope("matchScope")
                                         // the properties below are optional
                                         .invalidFallbackBehavior("invalidFallbackBehavior")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .method(method)
                                 .queryString(queryString)
                                 .singleHeader(singleHeader)
                                 .singleQueryArgument(singleQueryArgument)
                                 .uriPath(uriPath)
                                 .build())
                         .size(123)
                         .textTransformations(List.of(TextTransformationProperty.builder()
                                 .priority(123)
                                 .type("type")
                                 .build()))
                         .build())
                 .sqliMatchStatement(SqliMatchStatementProperty.builder()
                         .fieldToMatch(FieldToMatchProperty.builder()
                                 .allQueryArguments(allQueryArguments)
                                 .body(BodyProperty.builder()
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .cookies(CookiesProperty.builder()
                                         .matchPattern(CookieMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedCookies(List.of("excludedCookies"))
                                                 .includedCookies(List.of("includedCookies"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .headers(HeadersProperty.builder()
                                         .matchPattern(HeaderMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedHeaders(List.of("excludedHeaders"))
                                                 .includedHeaders(List.of("includedHeaders"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .jsonBody(JsonBodyProperty.builder()
                                         .matchPattern(JsonMatchPatternProperty.builder()
                                                 .all(all)
                                                 .includedPaths(List.of("includedPaths"))
                                                 .build())
                                         .matchScope("matchScope")
                                         // the properties below are optional
                                         .invalidFallbackBehavior("invalidFallbackBehavior")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .method(method)
                                 .queryString(queryString)
                                 .singleHeader(singleHeader)
                                 .singleQueryArgument(singleQueryArgument)
                                 .uriPath(uriPath)
                                 .build())
                         .textTransformations(List.of(TextTransformationProperty.builder()
                                 .priority(123)
                                 .type("type")
                                 .build()))
                         // the properties below are optional
                         .sensitivityLevel("sensitivityLevel")
                         .build())
                 .xssMatchStatement(XssMatchStatementProperty.builder()
                         .fieldToMatch(FieldToMatchProperty.builder()
                                 .allQueryArguments(allQueryArguments)
                                 .body(BodyProperty.builder()
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .cookies(CookiesProperty.builder()
                                         .matchPattern(CookieMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedCookies(List.of("excludedCookies"))
                                                 .includedCookies(List.of("includedCookies"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .headers(HeadersProperty.builder()
                                         .matchPattern(HeaderMatchPatternProperty.builder()
                                                 .all(all)
                                                 .excludedHeaders(List.of("excludedHeaders"))
                                                 .includedHeaders(List.of("includedHeaders"))
                                                 .build())
                                         .matchScope("matchScope")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .jsonBody(JsonBodyProperty.builder()
                                         .matchPattern(JsonMatchPatternProperty.builder()
                                                 .all(all)
                                                 .includedPaths(List.of("includedPaths"))
                                                 .build())
                                         .matchScope("matchScope")
                                         // the properties below are optional
                                         .invalidFallbackBehavior("invalidFallbackBehavior")
                                         .oversizeHandling("oversizeHandling")
                                         .build())
                                 .method(method)
                                 .queryString(queryString)
                                 .singleHeader(singleHeader)
                                 .singleQueryArgument(singleQueryArgument)
                                 .uriPath(uriPath)
                                 .build())
                         .textTransformations(List.of(TextTransformationProperty.builder()
                                 .priority(123)
                                 .type("type")
                                 .build()))
                         .build())
                 .build())
         .version("version")
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the managed rule group.

      You use this, along with the vendor name, to identify the rule group.

    • getVendorName

      @Stability(Stable) @NotNull String getVendorName()
      The name of the managed rule group vendor.

      You use this, along with the rule group name, to identify a rule group.

    • getExcludedRules

      @Stability(Stable) @Nullable default Object getExcludedRules()
      Rules in the referenced rule group whose actions are set to Count .

      Instead of this option, use RuleActionOverrides . It accepts any valid action setting, including Count .

    • getManagedRuleGroupConfigs

      @Stability(Stable) @Nullable default Object getManagedRuleGroupConfigs()
      Additional information that's used by a managed rule group. Many managed rule groups don't require this.

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

      • Use the AWSManagedRulesACFPRuleSet configuration object to configure the account creation fraud prevention managed rule group. The configuration includes the registration and sign-up pages of your application and the locations in the account creation request payload of data, such as the user email and phone number fields.
      • Use the AWSManagedRulesATPRuleSet configuration object to configure the account takeover prevention managed rule group. The configuration includes the sign-in page of your application and the locations in the login request payload of data such as the username and password.
      • Use the AWSManagedRulesBotControlRuleSet configuration object to configure the protection level that you want the Bot Control rule group to use.
    • getRuleActionOverrides

      @Stability(Stable) @Nullable default Object getRuleActionOverrides()
      Action settings to use in the place of the rule actions that are configured inside the rule group.

      You specify one override for each rule whose action you want to change.

      You can use overrides for testing, for example you can override all of rule actions to Count and then monitor the resulting count metrics to understand how the rule group would handle your web traffic. You can also permanently override some or all actions, to modify how the rule group manages your web traffic.

    • getScopeDownStatement

      @Stability(Stable) @Nullable default Object getScopeDownStatement()
      An optional nested statement that narrows the scope of the web requests that are evaluated by the managed rule group.

      Requests are only evaluated by the rule group if they match the scope-down statement. You can use any nestable Statement in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement.

    • getVersion

      @Stability(Stable) @Nullable default String getVersion()
      The version of the managed rule group to use.

      If you specify this, the version setting is fixed until you change it. If you don't specify this, AWS WAF uses the vendor's default version, and then keeps the version at the vendor's default when the vendor updates the managed rule group settings.

    • builder

      @Stability(Stable) static CfnWebACL.ManagedRuleGroupStatementProperty.Builder builder()
      Returns:
      a CfnWebACL.ManagedRuleGroupStatementProperty.Builder of CfnWebACL.ManagedRuleGroupStatementProperty