@Stability(value=Stable)
public static interface CfnWebACL.AllowActionProperty
extends software.amazon.jsii.JsiiSerializable
This is used only in the context of other settings, for example to specify values for the web ACL and rule group RuleAction and for the web ACL DefaultAction .
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.*;
AllowActionProperty allowActionProperty = AllowActionProperty.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.AllowActionProperty.Builder
A builder for
CfnWebACL.AllowActionProperty |
static class |
CfnWebACL.AllowActionProperty.Jsii$Proxy
An implementation for
CfnWebACL.AllowActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnWebACL.AllowActionProperty.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.AllowActionProperty.Builder builder()
Copyright © 2022. All rights reserved.