| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFront.Types.CachePolicyHeadersConfig
Description
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.
Constructors
| CachePolicyHeadersConfig' | |
Fields
| |
Instances
newCachePolicyHeadersConfig Source #
Arguments
| :: CachePolicyHeaderBehavior | |
| -> CachePolicyHeadersConfig |
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 anOriginRequestPolicyare included in origin requests.whitelist– The HTTP headers that are listed in theHeaderstype 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 anOriginRequestPolicyare included in origin requests.whitelist– The HTTP headers that are listed in theHeaderstype are included in the cache key and are automatically included in requests that CloudFront sends to the origin.