public static interface WafAction.Builder extends CopyableBuilder<WafAction.Builder,WafAction>
| Modifier and Type | Method and Description |
|---|---|
WafAction.Builder |
type(String type)
Specifies how you want AWS WAF to respond to requests that match the settings in a
Rule. |
WafAction.Builder |
type(WafActionType type)
Specifies how you want AWS WAF to respond to requests that match the settings in a
Rule. |
copyapply, buildWafAction.Builder type(String type)
Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid
settings include the following:
ALLOW: AWS WAF allows requests
BLOCK: AWS WAF blocks requests
COUNT: 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.
type - Specifies how you want AWS WAF to respond to requests that match the settings in a Rule.
Valid settings include the following:
ALLOW: AWS WAF allows requests
BLOCK: AWS WAF blocks requests
COUNT: 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.
WafActionType,
WafActionTypeWafAction.Builder type(WafActionType type)
Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid
settings include the following:
ALLOW: AWS WAF allows requests
BLOCK: AWS WAF blocks requests
COUNT: 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.
type - Specifies how you want AWS WAF to respond to requests that match the settings in a Rule.
Valid settings include the following:
ALLOW: AWS WAF allows requests
BLOCK: AWS WAF blocks requests
COUNT: 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.
WafActionType,
WafActionTypeCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.