VpcOriginConfig - Amazon CloudFront
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

VpcOriginConfig

An Amazon CloudFront VPC origin configuration.

Contents

VpcOriginId

The VPC origin ID.

Type: String

Required: Yes

OriginHttpVersion

The HTTP version that CloudFront uses for connections to your VPC origin. Valid values are http1.1 and http2. With http2, 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.

Type: String

Valid Values: http1.1 | http2

Required: No

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.

Type: Integer

Required: No

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.

Type: Integer

Required: No

OwnerAccountId

The account ID of the AWS account that owns the VPC origin.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: