@Stability(value=Stable)
public static interface CfnWebACL.RuleGroupReferenceStatementProperty
extends software.amazon.jsii.JsiiSerializable
To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.
You cannot nest a RuleGroupReferenceStatement , for example for use inside a NotStatement or OrStatement . You can only use a rule group reference statement at the top level inside a web ACL.
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.*;
RuleGroupReferenceStatementProperty ruleGroupReferenceStatementProperty = RuleGroupReferenceStatementProperty.builder()
.arn("arn")
// the properties below are optional
.excludedRules(List.of(ExcludedRuleProperty.builder()
.name("name")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnWebACL.RuleGroupReferenceStatementProperty.Builder
A builder for
CfnWebACL.RuleGroupReferenceStatementProperty |
static class |
CfnWebACL.RuleGroupReferenceStatementProperty.Jsii$Proxy
An implementation for
CfnWebACL.RuleGroupReferenceStatementProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnWebACL.RuleGroupReferenceStatementProperty.Builder |
builder() |
String |
getArn()
The Amazon Resource Name (ARN) of the entity.
|
default Object |
getExcludedRules()
The rules in the referenced rule group whose actions are set to `Count` .
|
@Stability(value=Stable) @NotNull String getArn()
@Stability(value=Stable) @Nullable default Object getExcludedRules()
When you exclude a rule, AWS WAF evaluates it exactly as it would if the rule action setting were Count . This is a useful option for testing the rules in a rule group without modifying how they handle your web traffic.
@Stability(value=Stable) static CfnWebACL.RuleGroupReferenceStatementProperty.Builder builder()
Copyright © 2022. All rights reserved.