DistributionVpcOriginConfig

data class DistributionVpcOriginConfig(val originKeepaliveTimeout: Int? = null, val originReadTimeout: Int? = null, val vpcOriginId: String)

An Amazon CloudFront VPC origin configuration.

Constructors

Link copied to clipboard
constructor(originKeepaliveTimeout: Int? = null, originReadTimeout: Int? = null, vpcOriginId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 5 seconds. For more information, see Keep-alive timeout (custom origins only) in the Amazon CloudFront Developer Guide.

Link copied to clipboard
val originReadTimeout: Int? = null

Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds. For more information, see Response timeout (custom origins only) in the Amazon CloudFront Developer Guide.

Link copied to clipboard

The VPC origin ID.