DistributionLegacyCustomOrigin

data class DistributionLegacyCustomOrigin(val dnsName: String, val httpPort: Int? = null, val httpsPort: Int? = null, val originProtocolPolicy: String, val originSslProtocols: List<String>)

A custom origin. A custom origin is any origin that is not an S3 bucket, with one exception. An S3 bucket that is configured with static website hosting is a custom origin. This property is legacy. We recommend that you use Origin instead.

Constructors

Link copied to clipboard
constructor(dnsName: String, httpPort: Int? = null, httpsPort: Int? = null, originProtocolPolicy: String, originSslProtocols: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The domain name assigned to your CF distribution.

Link copied to clipboard
val httpPort: Int? = null

The HTTP port that CF uses to connect to the origin. Specify the HTTP port that the origin listens on.

Link copied to clipboard
val httpsPort: Int? = null

The HTTPS port that CF uses to connect to the origin. Specify the HTTPS port that the origin listens on.

Link copied to clipboard

Specifies the protocol (HTTP or HTTPS) that CF uses to connect to the origin.

Link copied to clipboard

The minimum SSL/TLS protocol version that CF uses when communicating with your origin server over HTTPs. For more information, see Minimum Origin SSL Protocol in the Developer Guide.