自定义响应支持的状态码 - AWS WAF、AWS Firewall Manager、AWS Shield Advanced 和 AWS Shield 网络安全分析器

介绍 AWS WAF 的全新控制台体验

现在,您可以使用更新后的体验访问控制台中任意位置的 AWS WAF 功能。有关更多详细信息,请参阅 使用更新的控制台体验

自定义响应支持的状态码

本节列出了可以在自定义响应中使用的状态码。有关 HTTP 状态码的详细信息,请参阅互联网工程任务组 (IETF) 的状态码和维基百科上的 HTTP 状态码列表

以下是 AWS WAF 用于支持自定义响应的 HTTP 状态码。

  • 2xx Successful

    • 200OK

    • 201Created

    • 202Accepted

    • 204No Content

    • 206Partial Content

  • 3xx Redirection

    • 300Multiple Choices

    • 301Moved Permanently

    • 302Found

    • 303See Other

    • 304Not Modified

    • 307Temporary Redirect

    • 308Permanent Redirect

  • 4xx Client Error

    • 400Bad Request

    • 401Unauthorized

    • 403Forbidden

    • 404Not Found

    • 405Method Not Allowed

    • 408Request Timeout

    • 409Conflict

    • 411Length Required

    • 412Precondition Failed

    • 413Request Entity Too Large

    • 414Request-URI Too Long

    • 415Unsupported Media Type

    • 416Requested Range Not Satisfiable

    • 421Misdirected Request

    • 429Too Many Requests

  • 5xx Server Error

    • 500Internal Server Error

    • 501Not Implemented

    • 502Bad Gateway

    • 503Service Unavailable

    • 504Gateway Timeout

    • 505HTTP Version Not Supported