RuleAction
¶
Source code in docs_src/capo_wafv2/types/rule_action.py
captcha
instance-attribute
¶
captcha: NotRequired[CaptchaAction]
Instructs WAF to run a CAPTCHA check against the web request.
challenge
instance-attribute
¶
challenge: NotRequired[ChallengeAction]
Instructs WAF to run a Challenge check against the web request.
count
instance-attribute
¶
count: NotRequired[CountAction]
Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.
monetize
instance-attribute
¶
monetize: NotRequired[MonetizeAction]
Instructs WAF to return an HTTP 402 Payment Required response with a price manifest. The requesting client can complete payment and resubmit the request to gain access. This is a terminating action-requests that do not complete payment are blocked. This action is available only for web ACLs associated with Amazon CloudFront distributions and requires a MonetizationConfig on the web ACL.