AWS Security ChangesHomeSearch

AWS AmazonCloudFront: Document Origin HTTP version setting for custom and VPC origins

Service: AmazonCloudFront · 2026-11-21 · Documentation medium

File: AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.md · Type: network

Summary

Adds a new section describing the Origin HTTP version option (HTTP/1.1 or HTTP/2) for custom and VPC origins, including the requirement that HTTP/2 is used only over HTTPS with a minimum origin SSL protocol of TLSv1.2 or later.

Security assessment

This documents a new origin connection feature whose behavior is gated on TLS version (TLSv1.2 minimum) and HTTPS, so it has configuration-level security impact, but it introduces no fix for a specific vulnerability.

Evidence

+CloudFront uses HTTP/2 only for HTTPS connections, and only when the origin's minimum SSL protocol is TLSv1.2 or later. Even when you choose **HTTP/2** , CloudFront uses HTTP/1.1 in the following cases:

Diff

diff --git a/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.md b/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.md
index 2f22d97..b4ffdff 100644
--- a//AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.md
+++ b//AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.md
@@ -7 +7 @@
-Origin domainProtocol (custom origins only)Origin pathNameOrigin access (Amazon S3 origins only)Add custom headerEnable Origin ShieldConnection attemptsConnection timeoutResponse timeoutResponse completion timeoutKeep-alive timeout (custom and VPC origins only)Response and keep-alive timeout quotas
+Origin domainProtocol (custom origins only)Origin pathNameOrigin access (Amazon S3 origins only)Add custom headerEnable Origin ShieldConnection attemptsConnection timeoutResponse timeoutResponse completion timeoutKeep-alive timeout (custom and VPC origins only)Origin HTTP version (custom and VPC origins only)Response and keep-alive timeout quotas
@@ -48,0 +49,2 @@ When you create or update a distribution, you specify the following values for e
+  * Origin HTTP version (custom and VPC origins only)
+
@@ -332,0 +335,28 @@ For the **Keep-alive timeout** value to have an effect, your origin must be conf
+## Origin HTTP version (custom and VPC origins only)
+
+The HTTP version that CloudFront uses when it connects to your custom origin or VPC origin. Choose one of the following values:
+
+  * **HTTP/1.1** – CloudFront uses HTTP/1.1 for all connections to the origin. This is the default.
+
+  * **HTTP/2** – CloudFront offers HTTP/2 to the origin when it establishes the TLS connection. If the origin accepts HTTP/2, CloudFront can send multiple requests over the same connection, which reduces the number of connections and TLS handshakes that your origin handles. If the origin doesn't support HTTP/2, CloudFront uses HTTP/1.1, so you don't need to change the origin before you choose this value.
+
+
+
+
+CloudFront uses HTTP/2 only for HTTPS connections, and only when the origin's minimum SSL protocol is TLSv1.2 or later. Even when you choose **HTTP/2** , CloudFront uses HTTP/1.1 in the following cases:
+
+  * **Protocol** is **HTTP only**.
+
+  * **Protocol** is **Match viewer** , and the viewer request uses HTTP.
+
+  * **Minimum origin SSL protocol** is earlier than TLSv1.2 (in the API, `OriginSslProtocols` includes `SSLv3`, `TLSv1`, or `TLSv1.1`). This applies to every connection to the origin, even connections that use TLS 1.2 or later. To use HTTP/2, set the minimum to TLSv1.2. For more information, see Minimum origin SSL protocol.
+
+
+
+
+If a cache behavior has a Lambda@Edge function for the origin request or origin response event, CloudFront might use HTTP/1.1 for requests that match that cache behavior.
+
+For VPC origins, you specify the HTTP version for the origin in each distribution, not on the VPC origin resource. Distributions that use the same VPC origin can use different HTTP versions.
+
+In the CloudFront API, this setting is the `OriginHttpVersion` field in [CustomOriginConfig](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CustomOriginConfig.html) and [VpcOriginConfig](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_VpcOriginConfig.html). Valid values are `http1.1` and `http2`. If you update a distribution and omit `OriginHttpVersion` for an origin, CloudFront uses HTTP/1.1 for that origin.
+