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 OriginCustomHeader Source #
A complex type that contains HeaderName
and HeaderValue
elements, if
any, for this distribution.
See: newOriginCustomHeader
smart constructor.
OriginCustomHeader' | |
|
Instances
newOriginCustomHeader Source #
:: Text | |
-> Text | |
-> OriginCustomHeader |
Create a value of OriginCustomHeader
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:headerName:OriginCustomHeader'
, originCustomHeader_headerName
- The name of a header that you want CloudFront to send to your origin.
For more information, see
Adding Custom Headers to Origin Requests
in the Amazon CloudFront Developer Guide.
$sel:headerValue:OriginCustomHeader'
, originCustomHeader_headerValue
- The value for the header that you specified in the HeaderName
field.
originCustomHeader_headerName :: Lens' OriginCustomHeader Text Source #
The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.
originCustomHeader_headerValue :: Lens' OriginCustomHeader Text Source #
The value for the header that you specified in the HeaderName
field.