AWS::CloudFront::Distribution VpcOriginConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::CloudFront::Distribution VpcOriginConfig

An Amazon CloudFront VPC origin configuration.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "OriginKeepaliveTimeout" : Integer, "OriginReadTimeout" : Integer, "VpcOriginId" : String }

YAML

OriginKeepaliveTimeout: Integer OriginReadTimeout: Integer VpcOriginId: String

Properties

OriginKeepaliveTimeout

Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 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 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

For more information, see Response timeout (custom origins only) in the Amazon CloudFront Developer Guide.

Required: No

Type: Integer

Update requires: No interruption

VpcOriginId

The VPC origin ID.

Required: Yes

Type: String

Update requires: No interruption