CachePolicyCookiesConfig

data class CachePolicyCookiesConfig(val cookieBehavior: String, val cookies: List<String>? = null)

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

Constructors

Link copied to clipboard
constructor(cookieBehavior: String, cookies: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

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

Contains a list of cookie names.