Skip to content

ChallengeAction

Source code in docs_src/capo_wafv2/types/challenge_action.py
class ChallengeAction(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 challenge 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 challenge 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.