Class: Aws::CloudFront::Types::QueryStringCacheKeys
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::QueryStringCacheKeys
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
When making an API call, you may pass QueryStringCacheKeys data as a 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 `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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#items ⇒ 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.
-
#quantity ⇒ Integer
The number of `whitelisted` query string parameters for a cache behavior.
Instance Attribute Details
#items ⇒ 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. If `Quantity` is 0, you can omit `Items`.
11182 11183 11184 11185 11186 11187 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 11182 class QueryStringCacheKeys < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |
#quantity ⇒ Integer
The number of `whitelisted` query string parameters for a cache behavior.
11182 11183 11184 11185 11186 11187 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 11182 class QueryStringCacheKeys < Struct.new( :quantity, :items) SENSITIVE = [] include Aws::Structure end |