DistributionOriginCustomHeaderArgs

data class DistributionOriginCustomHeaderArgs(val headerName: Output<String>, val headerValue: Output<String>) : ConvertibleToJava<DistributionOriginCustomHeaderArgs>

A complex type that contains `HeaderName` and `HeaderValue` elements, if any, for this distribution.

Constructors

Link copied to clipboard
constructor(headerName: Output<String>, headerValue: Output<String>)

Properties

Link copied to clipboard
val headerName: Output<String>

The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

Link copied to clipboard
val headerValue: Output<String>

The value for the header that you specified in the `HeaderName` field.

Functions

Link copied to clipboard
open override fun toJava(): DistributionOriginCustomHeaderArgs