CookieObject - Amazon Lightsail

CookieObject

Describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards cookies to the origin and, if so, which ones.

For the cookies that you specify, your distribution caches separate versions of the specified content based on the cookie values in viewer requests.

Contents

cookiesAllowList

The specific cookies to forward to your distribution's origin.

Type: Array of strings

Required: No

option

Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

Type: String

Valid Values: none | allow-list | all

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: