CookiePreference class
A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.
Constructors
- CookiePreference({required ItemSelection forward, CookieNames? whitelistedNames})
- CookiePreference.fromXml(XmlElement elem)
-
factory
Properties
- forward → ItemSelection
-
Specifies which cookies to forward to the origin for this cache behavior:
all, none, or the list of cookies specified in the
WhitelistedNames
complex type.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- whitelistedNames → CookieNames?
-
Required if you specify
whitelist
for the value ofForward:
. A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toXml(
String elemName, {List< XmlAttribute> ? attributes}) → XmlElement
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited