@Stability(value=Stable)
public static interface CfnWebACL.ExcludedRuleProperty
extends software.amazon.jsii.JsiiSerializable
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.
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.*;
ExcludedRuleProperty excludedRuleProperty = ExcludedRuleProperty.builder()
.name("name")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnWebACL.ExcludedRuleProperty.Builder
A builder for
CfnWebACL.ExcludedRuleProperty |
static class |
CfnWebACL.ExcludedRuleProperty.Jsii$Proxy
An implementation for
CfnWebACL.ExcludedRuleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnWebACL.ExcludedRuleProperty.Builder |
builder() |
String |
getName()
The name of the rule whose action you want to override to `Count` .
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) static CfnWebACL.ExcludedRuleProperty.Builder builder()
Copyright © 2022. All rights reserved.