@Stability(value=Stable)
public static interface CfnWebACL.OverrideActionProperty
extends software.amazon.jsii.JsiiSerializable
You can use none, in which case the rule actions are in effect, or count, in which case, if a rule matches a web request, it only counts the match.
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnWebACL.OverrideActionProperty.Builder
A builder for
CfnWebACL.OverrideActionProperty |
static class |
CfnWebACL.OverrideActionProperty.Jsii$Proxy
An implementation for
CfnWebACL.OverrideActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnWebACL.OverrideActionProperty.Builder |
builder() |
default Object |
getCount()
Override the rule action settings to count.
|
default Object |
getNone()
Don't override the rule action settings.
|
@Stability(value=Stable) @Nullable default Object getCount()
@Stability(value=Stable) @Nullable default Object getNone()
@Stability(value=Stable) static CfnWebACL.OverrideActionProperty.Builder builder()
Copyright © 2022. All rights reserved.