public static interface WafAction.Builder extends SdkPojo, CopyableBuilder<WafAction.Builder,WafAction>
| Modifier and Type | Method and Description |
|---|---|
WafAction.Builder |
type(String type)
Specifies how you want WAF to respond to requests that match the settings in a rule.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWafAction.Builder type(String type)
Specifies how you want WAF to respond to requests that match the settings in a rule.
Valid settings include the following:
ALLOW - WAF allows requests
BLOCK - WAF blocks requests
COUNT - WAF increments a counter of the requests that match all of the conditions in the rule.
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 web ACL.
type - Specifies how you want WAF to respond to requests that match the settings in a rule.
Valid settings include the following:
ALLOW - WAF allows requests
BLOCK - WAF blocks requests
COUNT - WAF increments a counter of the requests that match all of the conditions in the
rule. 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 web ACL.
Copyright © 2023. All rights reserved.