Skip to content

/AWS1/CL_WA2BLOCKACTION

Specifies that WAF should block the request and optionally defines additional custom handling for the response to the web request.

This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_customresponse TYPE REF TO /AWS1/CL_WA2CUSTOMRESPONSE /AWS1/CL_WA2CUSTOMRESPONSE

Defines a custom response for the web request.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.


Queryable Attributes

CustomResponse

Defines a custom response for the web request.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

Accessible with the following methods

Method Description
GET_CUSTOMRESPONSE() Getter for CUSTOMRESPONSE