originProtocolPolicy

@JvmName(name = "ulpjuinhobnluwxs")
suspend fun originProtocolPolicy(value: Output<String>)
@JvmName(name = "sgqadpnferwmgcwl")
suspend fun originProtocolPolicy(value: String)

Parameters

value

Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

  • `http-only` – CloudFront always uses HTTP to connect to the origin.

  • `match-viewer` – CloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.

  • `https-only` – CloudFront always uses HTTPS to connect to the origin.