AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A complex type that specifies how CloudFront handles query strings and cookies.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.ForwardedValues

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class ForwardedValues

The ForwardedValues type exposes the following members

Constructors

NameDescription
Public Method ForwardedValues()

Properties

NameTypeDescription
Public Property Cookies Amazon.CloudFront.Model.CookiePreference

Gets and sets the property Cookies.

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.

Public Property Headers Amazon.CloudFront.Model.Headers

Gets and sets the property Headers.

A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior.

Public Property QueryString System.Boolean

Gets and sets the property QueryString.

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 for QueryStringCacheKeys, if any:

If you specify true for QueryString and you don't specify any values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin.

If you specify true for QueryString and you specify one or more values for QueryStringCacheKeys, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify.

If you specify false for QueryString, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters.

For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.

Public Property QueryStringCacheKeys Amazon.CloudFront.Model.QueryStringCacheKeys

Gets and sets the property QueryStringCacheKeys.

A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms