CloudFront Distribution CustomOriginConfig
CustomOriginConfig is a property of the Amazon CloudFront Origin property that describes an
HTTP server.
Syntax
JSON
{ "HTTPPort" :Integer, "HTTPSPort" :Integer, "OriginKeepaliveTimeout" :Integer, "OriginProtocolPolicy" :String, "OriginReadTimeout" :Integer, "OriginSSLProtocols" : [String, ...] }
YAML
HTTPPort:IntegerHTTPSPort:IntegerOriginKeepaliveTimeout:IntegerOriginProtocolPolicy:StringOriginReadTimeout:IntegerOriginSSLProtocols: -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: Integer
HTTPSPort-
The HTTPS port the custom origin listens on.
Required: No
Type: Integer
OriginKeepaliveTimeout-
You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths. The minimum timeout length is 1 second; the maximum is 60 seconds.
Required: No
Type: Integer
Update requires: No interruption
OriginProtocolPolicy-
The origin protocol policy to apply to your origin.
Required: Yes
Type: String
Valid Values:
http-only,match-viewer,https-only OriginReadTimeout-
You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths. The minimum timeout length is 4 seconds; the maximum is 60 seconds.
Required: No
Type: Integer
Update requires: No interruption
OriginSSLProtocols-
The SSL protocols that CloudFront can use when establishing an HTTPS connection with your origin. By default, AWS CloudFormation specifies the
TLSv1andSSLv3protocols.Required: No
Type: List of String values
