Class CfnRuleGroup

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:25.846Z") @Stability(Stable) public class CfnRuleGroup extends CfnResource implements IInspectable, ITaggable

This is the latest version of AWS WAF , named AWS WAF V2, released in November, 2019.

For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF developer guide .

Use an RuleGroup to define a collection of rules for inspecting and controlling web requests. You use a rule group in an WebACL by providing its Amazon Resource Name (ARN) to the rule statement RuleGroupReferenceStatement , when you add rules to the web ACL.

When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements.

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 allow;
 Object allQueryArguments;
 Object block;
 Object captcha;
 Object challenge;
 Object count;
 Object forwardedIp;
 Object httpMethod;
 Object ip;
 Object method;
 Object queryString;
 Object singleHeader;
 Object singleQueryArgument;
 StatementProperty statementProperty_;
 Object uriPath;
 CfnRuleGroup cfnRuleGroup = CfnRuleGroup.Builder.create(this, "MyCfnRuleGroup")
         .capacity(123)
         .scope("scope")
         .visibilityConfig(VisibilityConfigProperty.builder()
                 .cloudWatchMetricsEnabled(false)
                 .metricName("metricName")
                 .sampledRequestsEnabled(false)
                 .build())
         // the properties below are optional
         .availableLabels(List.of(LabelSummaryProperty.builder()
                 .name("name")
                 .build()))
         .consumedLabels(List.of(LabelSummaryProperty.builder()
                 .name("name")
                 .build()))
         .customResponseBodies(Map.of(
                 "customResponseBodiesKey", CustomResponseBodyProperty.builder()
                         .content("content")
                         .contentType("contentType")
                         .build()))
         .description("description")
         .name("name")
         .rules(List.of(RuleProperty.builder()
                 .name("name")
                 .priority(123)
                 .statement(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())
                                         .ja3Fingerprint(JA3FingerprintProperty.builder()
                                                 .fallbackBehavior("fallbackBehavior")
                                                 .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())
                         .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
                                 .customKeys(List.of(RateBasedStatementCustomKeyProperty.builder()
                                         .cookie(RateLimitCookieProperty.builder()
                                                 .name("name")
                                                 .textTransformations(List.of(TextTransformationProperty.builder()
                                                         .priority(123)
                                                         .type("type")
                                                         .build()))
                                                 .build())
                                         .forwardedIp(forwardedIp)
                                         .header(RateLimitHeaderProperty.builder()
                                                 .name("name")
                                                 .textTransformations(List.of(TextTransformationProperty.builder()
                                                         .priority(123)
                                                         .type("type")
                                                         .build()))
                                                 .build())
                                         .httpMethod(httpMethod)
                                         .ip(ip)
                                         .labelNamespace(RateLimitLabelNamespaceProperty.builder()
                                                 .namespace("namespace")
                                                 .build())
                                         .queryArgument(RateLimitQueryArgumentProperty.builder()
                                                 .name("name")
                                                 .textTransformations(List.of(TextTransformationProperty.builder()
                                                         .priority(123)
                                                         .type("type")
                                                         .build()))
                                                 .build())
                                         .queryString(RateLimitQueryStringProperty.builder()
                                                 .textTransformations(List.of(TextTransformationProperty.builder()
                                                         .priority(123)
                                                         .type("type")
                                                         .build()))
                                                 .build())
                                         .uriPath(RateLimitUriPathProperty.builder()
                                                 .textTransformations(List.of(TextTransformationProperty.builder()
                                                         .priority(123)
                                                         .type("type")
                                                         .build()))
                                                 .build())
                                         .build()))
                                 .evaluationWindowSec(123)
                                 .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())
                                         .ja3Fingerprint(JA3FingerprintProperty.builder()
                                                 .fallbackBehavior("fallbackBehavior")
                                                 .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())
                                         .ja3Fingerprint(JA3FingerprintProperty.builder()
                                                 .fallbackBehavior("fallbackBehavior")
                                                 .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())
                         .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())
                                         .ja3Fingerprint(JA3FingerprintProperty.builder()
                                                 .fallbackBehavior("fallbackBehavior")
                                                 .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())
                                         .ja3Fingerprint(JA3FingerprintProperty.builder()
                                                 .fallbackBehavior("fallbackBehavior")
                                                 .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())
                                         .ja3Fingerprint(JA3FingerprintProperty.builder()
                                                 .fallbackBehavior("fallbackBehavior")
                                                 .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())
                 .visibilityConfig(VisibilityConfigProperty.builder()
                         .cloudWatchMetricsEnabled(false)
                         .metricName("metricName")
                         .sampledRequestsEnabled(false)
                         .build())
                 // the properties below are optional
                 .action(RuleActionProperty.builder()
                         .allow(allow)
                         .block(block)
                         .captcha(captcha)
                         .challenge(challenge)
                         .count(count)
                         .build())
                 .captchaConfig(CaptchaConfigProperty.builder()
                         .immunityTimeProperty(ImmunityTimePropertyProperty.builder()
                                 .immunityTime(123)
                                 .build())
                         .build())
                 .challengeConfig(ChallengeConfigProperty.builder()
                         .immunityTimeProperty(ImmunityTimePropertyProperty.builder()
                                 .immunityTime(123)
                                 .build())
                         .build())
                 .ruleLabels(List.of(LabelProperty.builder()
                         .name("name")
                         .build()))
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnRuleGroup

      protected CfnRuleGroup(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnRuleGroup

      protected CfnRuleGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnRuleGroup

      @Stability(Stable) public CfnRuleGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRuleGroupProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the rule group.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The ID of the rule group.
    • getAttrLabelNamespace

      @Stability(Stable) @NotNull public String getAttrLabelNamespace()
      The label namespace prefix for this rule group.

      All labels added by rules in this rule group have this prefix.

      The syntax for the label namespace prefix for a rule group is the following: awswaf:<account ID>:rule group:<rule group name>:

      When a rule with a label matches a web request, AWS WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon.

    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getCapacity

      @Stability(Stable) @NotNull public Number getCapacity()
      The web ACL capacity units (WCUs) required for this rule group.
    • setCapacity

      @Stability(Stable) public void setCapacity(@NotNull Number value)
      The web ACL capacity units (WCUs) required for this rule group.
    • getScope

      @Stability(Stable) @NotNull public String getScope()
      Specifies whether this is for an Amazon CloudFront distribution or for a regional application.
    • setScope

      @Stability(Stable) public void setScope(@NotNull String value)
      Specifies whether this is for an Amazon CloudFront distribution or for a regional application.
    • getVisibilityConfig

      @Stability(Stable) @NotNull public Object getVisibilityConfig()
      Defines and enables Amazon CloudWatch metrics and web request sample collection.
    • setVisibilityConfig

      @Stability(Stable) public void setVisibilityConfig(@NotNull IResolvable value)
      Defines and enables Amazon CloudWatch metrics and web request sample collection.
    • setVisibilityConfig

      @Stability(Stable) public void setVisibilityConfig(@NotNull CfnRuleGroup.VisibilityConfigProperty value)
      Defines and enables Amazon CloudWatch metrics and web request sample collection.
    • getAvailableLabels

      @Stability(Stable) @Nullable public Object getAvailableLabels()
      The labels that one or more rules in this rule group add to matching web requests.
    • setAvailableLabels

      @Stability(Stable) public void setAvailableLabels(@Nullable IResolvable value)
      The labels that one or more rules in this rule group add to matching web requests.
    • setAvailableLabels

      @Stability(Stable) public void setAvailableLabels(@Nullable List<Object> value)
      The labels that one or more rules in this rule group add to matching web requests.
    • getConsumedLabels

      @Stability(Stable) @Nullable public Object getConsumedLabels()
      The labels that one or more rules in this rule group match against in label match statements.
    • setConsumedLabels

      @Stability(Stable) public void setConsumedLabels(@Nullable IResolvable value)
      The labels that one or more rules in this rule group match against in label match statements.
    • setConsumedLabels

      @Stability(Stable) public void setConsumedLabels(@Nullable List<Object> value)
      The labels that one or more rules in this rule group match against in label match statements.
    • getCustomResponseBodies

      @Stability(Stable) @Nullable public Object getCustomResponseBodies()
      A map of custom response keys and content bodies.
    • setCustomResponseBodies

      @Stability(Stable) public void setCustomResponseBodies(@Nullable IResolvable value)
      A map of custom response keys and content bodies.
    • setCustomResponseBodies

      @Stability(Stable) public void setCustomResponseBodies(@Nullable Map<String,Object> value)
      A map of custom response keys and content bodies.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      A description of the rule group that helps with identification.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A description of the rule group that helps with identification.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the rule group.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the rule group.
    • getRules

      @Stability(Stable) @Nullable public Object getRules()
      The rule statements used to identify the web requests that you want to allow, block, or count.
    • setRules

      @Stability(Stable) public void setRules(@Nullable IResolvable value)
      The rule statements used to identify the web requests that you want to allow, block, or count.
    • setRules

      @Stability(Stable) public void setRules(@Nullable List<Object> value)
      The rule statements used to identify the web requests that you want to allow, block, or count.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      Key:value pairs associated with an AWS resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      Key:value pairs associated with an AWS resource.