Skip to content

CaptchaAction

Source code in docs_src/capo_wafv2/types/captcha_action.py
class CaptchaAction(TypedDict, closed=True):
    custom_request_handling: NotRequired[
        "capo_wafv2.types.custom_request_handling.CustomRequestHandling"
    ]
    """<p>Defines custom handling for the web request, used when the <code>CAPTCHA</code> inspection determines that the request's token is valid and unexpired.</p> <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the <i>WAF Developer Guide</i>. </p>"""

custom_request_handling instance-attribute

custom_request_handling: NotRequired[CustomRequestHandling]

Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired.

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