AWS::CloudFront::Distribution VpcOriginConfig - AWS CloudFormation

This is the new AWS 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 AWS 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 120 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

VpcOriginId

The VPC origin ID.

Required: Yes

Type: String

Update requires: No interruption