CookieObject class

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.

Constructors

CookieObject({List<String>? cookiesAllowList, ForwardValues? option})
CookieObject.fromJson(Map<String, dynamic> json)
factory

Properties

cookiesAllowList List<String>?
The specific cookies to forward to your distribution's origin.
final
hashCode int
The hash code for this object.
no setterinherited
option ForwardValues?
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited