Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

CloudFront DistributionConfig Origin CustomOrigin

CustomOrigin is a property of the Amazon CloudFront Origin property that describes an HTTP server.

Syntax

JSON

{
  "HTTPPort" : String,
  "HTTPSPort" : String,
  "OriginProtocolPolicy" : String,
  "OriginSSLProtocols" : [ String, ... ]
}

YAML

HTTPPort: String
HTTPSPort: String
OriginProtocolPolicy: String
OriginSSLProtocols:
  - String

Properties

Note

For more information about the constraints and valid values of each property, see the CustomOriginConfig data type in the Amazon CloudFront API Reference.

HTTPPort

The HTTP port the custom origin listens on.

Required: No

Type: String

HTTPSPort

The HTTPS port the custom origin listens on.

Required: No

Type: String

OriginProtocolPolicy

The origin protocol policy to apply to your origin.

Required: Yes

Type: String

OriginSSLProtocols

The SSL protocols that CloudFront can use when establishing an HTTPS connection with your origin. By default, AWS CloudFormation specifies the TLSv1 and SSLv3 protocols.

Required: No

Type: List of strings