ForwardedValues class

This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.

If you want to include values in the cache key, use a cache policy. For more information, see Creating cache policies in the Amazon CloudFront Developer Guide.

If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see Creating origin request policies in the Amazon CloudFront Developer Guide.

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

cookies CookiePreference
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
final
hashCode int
The hash code for this object.
no setterinherited
headers Headers?
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
final
queryString bool
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
final
queryStringCacheKeys QueryStringCacheKeys?
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
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