This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::CloudFront::Distribution VpcOriginConfig
An Amazon CloudFront VPC origin configuration.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "OriginHttpVersion" :String, "OriginKeepaliveTimeout" :Integer, "OriginReadTimeout" :Integer, "OwnerAccountId" :String, "VpcOriginId" :String}
YAML
OriginHttpVersion:StringOriginKeepaliveTimeout:IntegerOriginReadTimeout:IntegerOwnerAccountId:StringVpcOriginId:String
Properties
OriginHttpVersion-
The HTTP version that CloudFront uses for connections to your VPC origin. Valid values are
http1.1andhttp2. Withhttp2, CloudFront negotiates HTTP/2 with the origin and falls back to HTTP/1.1 if the origin doesn't support HTTP/2. CloudFront uses HTTP/2 only over TLS 1.2 or later. If you don't specify a value, CloudFront uses HTTP/1.1.Required: No
Type: String
Allowed values:
http1.1 | http2Update requires: No interruption
OriginKeepaliveTimeout-
Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 300 seconds, and the default (if you don't specify otherwise) is 5 seconds.
For more information, see Keep-alive timeout (custom origins only) in the Amazon CloudFront Developer Guide.
Required: No
Type: Integer
Update requires: No interruption
OriginReadTimeout-
Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.
For more information, see Response timeout in the Amazon CloudFront Developer Guide.
Required: No
Type: Integer
Update requires: No interruption
OwnerAccountId-
The account ID of the AWS account that owns the VPC origin.
Required: No
Type: String
Update requires: No interruption
VpcOriginId-
The VPC origin ID.
Required: Yes
Type: String
Update requires: No interruption