ForwardedValues class
A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.
Constructors
- ForwardedValues({required CookiePreference cookies, required bool queryString, Headers? headers, QueryStringCacheKeys? queryStringCacheKeys})
- ForwardedValues.fromXml(XmlElement elem)
-
factory
Properties
-
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → Headers?
-
A complex type that specifies the
Headers
, if any, that you want CloudFront to forward to the origin for this cache behavior (whitelisted headers). For the headers that you specify, CloudFront also caches separate versions of a specified object that is based on the header values in viewer requests.final - queryString → bool
-
Indicates whether you want CloudFront to forward query strings to the origin
that is associated with this cache behavior and cache based on the query
string parameters. CloudFront behavior depends on the value of
QueryString
and on the values that you specify forQueryStringCacheKeys
, if any:final - queryStringCacheKeys → QueryStringCacheKeys?
-
A complex type that contains information about the query string parameters
that you want CloudFront to use for caching for this cache behavior.
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
-
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