public static interface CfnWebACL.AllowActionProperty
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.*; 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 java.lang.Object |
getCustomRequestHandling()
Defines custom handling for the web request.
|
default java.lang.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 .
static CfnWebACL.AllowActionProperty.Builder builder()