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 LegacyCustomOrigin
A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hostingis a custom origin.
Note
This property is legacy. We recommend that you use Origin instead.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DNSName" :String, "HTTPPort" :Integer, "HTTPSPort" :Integer, "OriginProtocolPolicy" :String, "OriginSSLProtocols" :[ String, ... ]}
YAML
DNSName:StringHTTPPort:IntegerHTTPSPort:IntegerOriginProtocolPolicy:StringOriginSSLProtocols:- String
Properties
DNSName-
The domain name assigned to your CloudFront distribution.
Required: Yes
Type: String
Update requires: No interruption
HTTPPort-
The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.
Required: No
Type: Integer
Update requires: No interruption
HTTPSPort-
The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.
Required: No
Type: Integer
Update requires: No interruption
OriginProtocolPolicy-
Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
Required: Yes
Type: String
Update requires: No interruption
OriginSSLProtocols-
The minimum SSL/TLS protocol version that CloudFront uses when communicating with your origin server over HTTPs.
For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.
Required: Yes
Type: Array of String
Update requires: No interruption