@Stability(value=Stable)
public static interface CfnWebACL.CountActionProperty
extends software.amazon.jsii.JsiiSerializable
This is used in the context of other settings, for example to specify values for a rule action or a web ACL default action.
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.*;
CountActionProperty countActionProperty = CountActionProperty.builder()
.customRequestHandling(CustomRequestHandlingProperty.builder()
.insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
.name("name")
.value("value")
.build()))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnWebACL.CountActionProperty.Builder
A builder for
CfnWebACL.CountActionProperty |
static class |
CfnWebACL.CountActionProperty.Jsii$Proxy
An implementation for
CfnWebACL.CountActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnWebACL.CountActionProperty.Builder |
builder() |
default Object |
getCustomRequestHandling()
Defines custom handling for the web request.
|
@Stability(value=Stable) @Nullable default Object getCustomRequestHandling()
For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide .
@Stability(value=Stable) static CfnWebACL.CountActionProperty.Builder builder()
Copyright © 2022. All rights reserved.