Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data QueryStringCacheKeys Source #
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.
See: newQueryStringCacheKeys
smart constructor.
Instances
newQueryStringCacheKeys Source #
Create a value of QueryStringCacheKeys
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:QueryStringCacheKeys'
, queryStringCacheKeys_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
.
$sel:quantity:QueryStringCacheKeys'
, queryStringCacheKeys_quantity
- The number of whitelisted
query string parameters for a cache
behavior.
queryStringCacheKeys_items :: Lens' QueryStringCacheKeys (Maybe [Text]) Source #
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
.
queryStringCacheKeys_quantity :: Lens' QueryStringCacheKeys Int Source #
The number of whitelisted
query string parameters for a cache
behavior.