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 OriginRequestPolicyHeadersConfig = OriginRequestPolicyHeadersConfig' {}
- newOriginRequestPolicyHeadersConfig :: OriginRequestPolicyHeaderBehavior -> OriginRequestPolicyHeadersConfig
- originRequestPolicyHeadersConfig_headers :: Lens' OriginRequestPolicyHeadersConfig (Maybe Headers)
- originRequestPolicyHeadersConfig_headerBehavior :: Lens' OriginRequestPolicyHeadersConfig OriginRequestPolicyHeaderBehavior
Documentation
data OriginRequestPolicyHeadersConfig Source #
An object that determines whether any HTTP headers (and if so, which headers) are included in requests that CloudFront sends to the origin.
See: newOriginRequestPolicyHeadersConfig
smart constructor.
OriginRequestPolicyHeadersConfig' | |
|
Instances
newOriginRequestPolicyHeadersConfig Source #
Create a value of OriginRequestPolicyHeadersConfig
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:OriginRequestPolicyHeadersConfig'
, originRequestPolicyHeadersConfig_headers
- Undocumented member.
$sel:headerBehavior:OriginRequestPolicyHeadersConfig'
, originRequestPolicyHeadersConfig_headerBehavior
- Determines whether any HTTP headers are included in requests that
CloudFront sends to the origin. Valid values are:
none
– HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any headers that are listed in aCachePolicy
are included in origin requests.whitelist
– The HTTP headers that are listed in theHeaders
type are included in requests that CloudFront sends to the origin.allViewer
– All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.allViewerAndWhitelistCloudFront
– All HTTP headers in viewer requests and the additional CloudFront headers that are listed in theHeaders
type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.
originRequestPolicyHeadersConfig_headers :: Lens' OriginRequestPolicyHeadersConfig (Maybe Headers) Source #
Undocumented member.
originRequestPolicyHeadersConfig_headerBehavior :: Lens' OriginRequestPolicyHeadersConfig OriginRequestPolicyHeaderBehavior Source #
Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:
none
– HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any headers that are listed in aCachePolicy
are included in origin requests.whitelist
– The HTTP headers that are listed in theHeaders
type are included in requests that CloudFront sends to the origin.allViewer
– All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.allViewerAndWhitelistCloudFront
– All HTTP headers in viewer requests and the additional CloudFront headers that are listed in theHeaders
type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.