DistributionOriginCustomOriginConfig

data class DistributionOriginCustomOriginConfig(val httpPort: Int, val httpsPort: Int, val originKeepaliveTimeout: Int? = null, val originProtocolPolicy: String, val originReadTimeout: Int? = null, val originSslProtocols: List<String>)

Constructors

Link copied to clipboard
fun DistributionOriginCustomOriginConfig(httpPort: Int, httpsPort: Int, originKeepaliveTimeout: Int? = null, originProtocolPolicy: String, originReadTimeout: Int? = null, originSslProtocols: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

HTTP port the custom origin listens on.

Link copied to clipboard

HTTPS port the custom origin listens on.

Link copied to clipboard

The Custom KeepAlive timeout, in seconds. By default, AWS enforces an upper limit of 60. But you can request an increase. Defaults to 5.

Link copied to clipboard

Origin protocol policy to apply to your origin. One of http-only, https-only, or match-viewer.

Link copied to clipboard
val originReadTimeout: Int? = null

The Custom Read timeout, in seconds. By default, AWS enforces an upper limit of 60. But you can request an increase. Defaults to 30.

Link copied to clipboard

SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS. A list of one or more of SSLv3, TLSv1, TLSv1.1, and TLSv1.2.