Interface CfnWebACL.OverrideActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWebACL.OverrideActionProperty.Jsii$Proxy
- Enclosing class:
- CfnWebACL
Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.
You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement
and ManagedRuleGroupStatement
.
This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with
Count
action, in your rule group reference statement settings.
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 count; Object none; OverrideActionProperty overrideActionProperty = OverrideActionProperty.builder() .count(count) .none(none) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnWebACL.OverrideActionProperty
static final class
An implementation forCfnWebACL.OverrideActionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCount
Override the rule group evaluation result to count only.This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead use the rule action override option, with
Count
action, in your rule group reference statement settings. -
getNone
Don't override the rule group evaluation result.This is the most common setting.
-
builder
-