class Aws::Lightsail::Types::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.
@note When making an API call, you may pass CookieObject
data as a hash: { option: "none", # accepts none, allow-list, all cookies_allow_list: ["string"], }
@!attribute [rw] 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. @return [String]
@!attribute [rw] cookies_allow_list
The specific cookies to forward to your distribution's origin. @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CookieObject AWS API Documentation
Constants
- SENSITIVE