CachePolicyHeadersConfigArgs

data class CachePolicyHeadersConfigArgs(val headerBehavior: Output<String>, val headers: Output<List<String>>? = null) : ConvertibleToJava<CachePolicyHeadersConfigArgs>

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin.

Constructors

Link copied to clipboard
constructor(headerBehavior: Output<String>, headers: Output<List<String>>? = null)

Properties

Link copied to clipboard
val headerBehavior: Output<String>

Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:

Link copied to clipboard
val headers: Output<List<String>>? = null

Contains a list of HTTP header names.

Functions

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