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.

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 query strings in the cache key, use QueryStringsConfig in a cache policy. See CachePolicy.

If you want to send query strings to the origin but not include them in the cache key, use QueryStringsConfig in an origin request policy. See OriginRequestPolicy.

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

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.QueryStringCacheKeys

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

Syntax

C#
public class QueryStringCacheKeys

The QueryStringCacheKeys type exposes the following members

Constructors

NameDescription
Public Method QueryStringCacheKeys()

Properties

NameTypeDescription
Public Property Items System.Collections.Generic.List<System.String>

Gets and sets the property Items.

A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a cache behavior. If Quantity is 0, you can omit Items.

Public Property Quantity System.Int32

Gets and sets the property Quantity.

The number of whitelisted query string parameters for a cache behavior.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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