public static interface CfnWebACL.ActionProperty
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.waf.regional.*; ActionProperty actionProperty = ActionProperty.builder() .type("type") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnWebACL.ActionProperty.Builder
A builder for
CfnWebACL.ActionProperty |
static class |
CfnWebACL.ActionProperty.Jsii$Proxy
An implementation for
CfnWebACL.ActionProperty |
Modifier and Type | Method and Description |
---|---|
static CfnWebACL.ActionProperty.Builder |
builder() |
java.lang.String |
getType()
For actions that are associated with a rule, the action that AWS WAF takes when a web request matches all conditions in a rule.
|
java.lang.String getType()
For the default action of a web access control list (ACL), the action that AWS WAF takes when a web request doesn't match all conditions in any rule.
Valid settings include the following:
ALLOW
: AWS WAF allows requestsBLOCK
: AWS WAF blocks requestsCOUNT
: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT
for the default action for a WebACL.static CfnWebACL.ActionProperty.Builder builder()
CfnWebACL.ActionProperty.Builder
of CfnWebACL.ActionProperty