import { _OriginSslProtocols, _UnmarshalledOriginSslProtocols } from "./_OriginSslProtocols"; /** *
A custom origin or an Amazon S3 bucket configured as a website endpoint.
*/ export interface _CustomOriginConfig { /** *The HTTP port the custom origin listens on.
*/ HTTPPort: number; /** *The HTTPS port the custom origin listens on.
*/ HTTPSPort: number; /** *The origin protocol policy to apply to your origin.
*/ OriginProtocolPolicy: "http-only" | "match-viewer" | "https-only" | string; /** *The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
*/ OriginSslProtocols?: _OriginSslProtocols; /** *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.
*/ OriginReadTimeout?: number; /** *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.
*/ OriginKeepaliveTimeout?: number; } export interface _UnmarshalledCustomOriginConfig extends _CustomOriginConfig { /** *The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
*/ OriginSslProtocols?: _UnmarshalledOriginSslProtocols; }