You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudFront::Types::QueryStringCacheKeys

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing QueryStringCacheKeys as input to an Aws::Client method, you can use a vanilla Hash:

{
  quantity: 1, # required
  items: ["string"],
}

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 CreateCachePolicy.

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 CreateOriginRequestPolicy.

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<String>

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.

Returns:

  • (Array<String>)

    A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a cache behavior.

#quantityInteger

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

Returns:

  • (Integer)

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