/AWS1/CL_WA2RULEACTION¶
The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
io_block TYPE REF TO /AWS1/CL_WA2BLOCKACTION /AWS1/CL_WA2BLOCKACTION¶
Instructs WAF to block the web request.
io_allow TYPE REF TO /AWS1/CL_WA2ALLOWACTION /AWS1/CL_WA2ALLOWACTION¶
Instructs WAF to allow the web request.
io_count TYPE REF TO /AWS1/CL_WA2COUNTACTION /AWS1/CL_WA2COUNTACTION¶
Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.
io_captcha TYPE REF TO /AWS1/CL_WA2CAPTCHAACTION /AWS1/CL_WA2CAPTCHAACTION¶
Instructs WAF to run a
CAPTCHAcheck against the web request.
io_challenge TYPE REF TO /AWS1/CL_WA2CHALLENGEACTION /AWS1/CL_WA2CHALLENGEACTION¶
Instructs WAF to run a
Challengecheck against the web request.
io_monetize TYPE REF TO /AWS1/CL_WA2MONETIZEACTION /AWS1/CL_WA2MONETIZEACTION¶
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
MonetizationConfigon the web ACL.
Queryable Attributes¶
Block¶
Instructs WAF to block the web request.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BLOCK() |
Getter for BLOCK |
Allow¶
Instructs WAF to allow the web request.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ALLOW() |
Getter for ALLOW |
Count¶
Instructs WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_COUNT() |
Getter for COUNT |
Captcha¶
Instructs WAF to run a
CAPTCHAcheck against the web request.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CAPTCHA() |
Getter for CAPTCHA |
Challenge¶
Instructs WAF to run a
Challengecheck against the web request.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CHALLENGE() |
Getter for CHALLENGE |
Monetize¶
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
MonetizationConfigon the web ACL.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MONETIZE() |
Getter for MONETIZE |