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 CachePolicyHeadersConfig = CachePolicyHeadersConfig' {}
- newCachePolicyHeadersConfig :: CachePolicyHeaderBehavior -> CachePolicyHeadersConfig
- cachePolicyHeadersConfig_headers :: Lens' CachePolicyHeadersConfig (Maybe Headers)
- cachePolicyHeadersConfig_headerBehavior :: Lens' CachePolicyHeadersConfig CachePolicyHeaderBehavior
Documentation
data CachePolicyHeadersConfig Source #
An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.
See: newCachePolicyHeadersConfig
smart constructor.
CachePolicyHeadersConfig' | |
|
Instances
newCachePolicyHeadersConfig Source #
Create a value of CachePolicyHeadersConfig
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:headers:CachePolicyHeadersConfig'
, cachePolicyHeadersConfig_headers
- Undocumented member.
$sel:headerBehavior:CachePolicyHeadersConfig'
, cachePolicyHeadersConfig_headerBehavior
- Determines whether any HTTP headers are included in the cache key and
automatically included in requests that CloudFront sends to the origin.
Valid values are:
none
– HTTP headers 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 headers that are listed in anOriginRequestPolicy
are included in origin requests.whitelist
– The HTTP headers that are listed in theHeaders
type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
cachePolicyHeadersConfig_headers :: Lens' CachePolicyHeadersConfig (Maybe Headers) Source #
Undocumented member.
cachePolicyHeadersConfig_headerBehavior :: Lens' CachePolicyHeadersConfig CachePolicyHeaderBehavior Source #
Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:
none
– HTTP headers 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 headers that are listed in anOriginRequestPolicy
are included in origin requests.whitelist
– The HTTP headers that are listed in theHeaders
type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.