Menu
Amazon CloudFront
API Reference (API Version 2017-03-25)

CustomOriginConfig

A customer origin.

Contents

HTTPPort

The HTTP port the custom origin listens on.

Type: Integer

Required: Yes

HTTPSPort

The HTTPS port the custom origin listens on.

Type: Integer

Required: Yes

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 using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds.

If you need to increase the maximum time limit, contact the AWS Support Center.

Type: Integer

Required: No

OriginProtocolPolicy

The origin protocol policy to apply to your origin.

Type: String

Valid Values: http-only | match-viewer | https-only

Required: Yes

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 using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds.

If you need to increase the maximum time limit, contact the AWS Support Center.

Type: Integer

Required: No

OriginSslProtocols

The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.

Type: OriginSslProtocols object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: