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 |
Synopsis
- data CachePolicyQueryStringsConfig = CachePolicyQueryStringsConfig' {}
- newCachePolicyQueryStringsConfig :: CachePolicyQueryStringBehavior -> CachePolicyQueryStringsConfig
- cachePolicyQueryStringsConfig_queryStrings :: Lens' CachePolicyQueryStringsConfig (Maybe QueryStringNames)
- cachePolicyQueryStringsConfig_queryStringBehavior :: Lens' CachePolicyQueryStringsConfig CachePolicyQueryStringBehavior
Documentation
data CachePolicyQueryStringsConfig Source #
An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.
See: newCachePolicyQueryStringsConfig
smart constructor.
CachePolicyQueryStringsConfig' | |
|
Instances
newCachePolicyQueryStringsConfig Source #
Create a value of CachePolicyQueryStringsConfig
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:queryStrings:CachePolicyQueryStringsConfig'
, cachePolicyQueryStringsConfig_queryStrings
- Contains the specific query strings in viewer requests that either
are or are not included in the cache key and automatically
included in requests that CloudFront sends to the origin. The behavior
depends on whether the QueryStringBehavior
field in the
CachePolicyQueryStringsConfig
type is set to whitelist
(the listed
query strings are included) or allExcept
(the listed query
strings are not included, but all other query strings are).
$sel:queryStringBehavior:CachePolicyQueryStringsConfig'
, cachePolicyQueryStringsConfig_queryStringBehavior
- Determines whether any URL query strings in viewer requests are included
in the cache key and automatically included in requests that CloudFront
sends to the origin. Valid values are:
none
– Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any query strings that are listed in anOriginRequestPolicy
are included in origin requests.whitelist
– The query strings in viewer requests that are listed in theQueryStringNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.allExcept
– All query strings in viewer requests that are not listed in theQueryStringNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.all
– All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
cachePolicyQueryStringsConfig_queryStrings :: Lens' CachePolicyQueryStringsConfig (Maybe QueryStringNames) Source #
Contains the specific query strings in viewer requests that either
are or are not included in the cache key and automatically
included in requests that CloudFront sends to the origin. The behavior
depends on whether the QueryStringBehavior
field in the
CachePolicyQueryStringsConfig
type is set to whitelist
(the listed
query strings are included) or allExcept
(the listed query
strings are not included, but all other query strings are).
cachePolicyQueryStringsConfig_queryStringBehavior :: Lens' CachePolicyQueryStringsConfig CachePolicyQueryStringBehavior Source #
Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:
none
– Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any query strings that are listed in anOriginRequestPolicy
are included in origin requests.whitelist
– The query strings in viewer requests that are listed in theQueryStringNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.allExcept
– All query strings in viewer requests that are not listed in theQueryStringNames
type are included in the cache key and automatically included in requests that CloudFront sends to the origin.all
– All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.