

**推出 的新主控台體驗 AWS WAF**

您現在可以使用更新後的體驗，在主控台的任何位置存取 AWS WAF 功能。如需詳細資訊，請參閱[使用 主控台](https://docs.aws.amazon.com/waf/latest/developerguide/working-with-console.html)。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 在 中檢查 HTTP/2 虛擬標頭 AWS WAF
<a name="waf-rule-statement-request-components-for-http2-pseudo-headers"></a>

本節說明如何使用 AWS WAF 檢查 HTTP/2 虛擬標頭。

支援 HTTP/2 流量的受保護 AWS 資源不會將 HTTP/2 虛擬標頭轉送至 AWS WAF 進行檢查，但會在 AWS WAF 檢查的 Web 請求元件中提供虛擬標頭的內容。

您可以使用 僅 AWS WAF 檢查下表中列出的虛擬標頭。


**HTTP/2 虛擬標頭內容映射至 Web 請求元件**  

| HTTP/2 虛擬標頭 | 要檢查的 Web 請求元件 | 文件 | 
| --- | --- | --- | 
| `:method` | HTTP 方法  | [HTTP 方法](waf-rule-statement-fields-list.md#waf-rule-statement-request-component-http-method) | 
| `:authority` | `Host` 標頭  | [單一標頭](waf-rule-statement-fields-list.md#waf-rule-statement-request-component-single-header) <br />[所有標頭](waf-rule-statement-fields-list.md#waf-rule-statement-request-component-headers) | 
| `:path` URI 路徑 | URI 路徑  | [URI 路徑](waf-rule-statement-fields-list.md#waf-rule-statement-request-component-uri-path) | 
| `:path` 查詢 | 查詢字串 | [查詢字串](waf-rule-statement-fields-list.md#waf-rule-statement-request-component-query-string)<br />[單一查詢參數](waf-rule-statement-fields-list.md#waf-rule-statement-request-component-single-query-param)<br />[所有查詢參數](waf-rule-statement-fields-list.md#waf-rule-statement-request-component-all-query-params) | 