ResponseHeadersPolicyCustomHeaderArgs

data class ResponseHeadersPolicyCustomHeaderArgs(val header: Output<String>, val override: Output<Boolean>, val value: Output<String>) : ConvertibleToJava<ResponseHeadersPolicyCustomHeaderArgs>

An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

Constructors

Link copied to clipboard
constructor(header: Output<String>, override: Output<Boolean>, value: Output<String>)

Properties

Link copied to clipboard
val header: Output<String>

The HTTP response header name.

Link copied to clipboard
val override: Output<Boolean>

A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

Link copied to clipboard
val value: Output<String>

The value for the HTTP response header.

Functions

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