| Package | Description |
|---|---|
| com.amazonaws.services.wafv2.model |
| Modifier and Type | Method and Description |
|---|---|
RuleAction |
RuleAction.clone() |
RuleAction |
RuleSummary.getAction()
The action that WAF should take on a web request when it matches a rule's statement.
|
RuleAction |
Rule.getAction()
The action that WAF should take on a web request when it matches the rule statement.
|
RuleAction |
RuleActionOverride.getActionToUse()
The override action to use, in place of the configured action of the rule in the rule group.
|
RuleAction |
RuleAction.withAllow(AllowAction allow)
Instructs WAF to allow the web request.
|
RuleAction |
RuleAction.withBlock(BlockAction block)
Instructs WAF to block the web request.
|
RuleAction |
RuleAction.withCaptcha(CaptchaAction captcha)
Instructs WAF to run a
CAPTCHA check against the web request. |
RuleAction |
RuleAction.withChallenge(ChallengeAction challenge)
Instructs WAF to run a
Challenge check against the web request. |
RuleAction |
RuleAction.withCount(CountAction count)
Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the
web ACL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RuleSummary.setAction(RuleAction action)
The action that WAF should take on a web request when it matches a rule's statement.
|
void |
Rule.setAction(RuleAction action)
The action that WAF should take on a web request when it matches the rule statement.
|
void |
RuleActionOverride.setActionToUse(RuleAction actionToUse)
The override action to use, in place of the configured action of the rule in the rule group.
|
RuleSummary |
RuleSummary.withAction(RuleAction action)
The action that WAF should take on a web request when it matches a rule's statement.
|
Rule |
Rule.withAction(RuleAction action)
The action that WAF should take on a web request when it matches the rule statement.
|
RuleActionOverride |
RuleActionOverride.withActionToUse(RuleAction actionToUse)
The override action to use, in place of the configured action of the rule in the rule group.
|
Copyright © 2023. All rights reserved.