| 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.OriginCustomHeader
Description
Documentation
data OriginCustomHeader Source #
A complex type that contains HeaderName and HeaderValue elements, if
any, for this distribution.
See: newOriginCustomHeader smart constructor.
Constructors
| OriginCustomHeader' | |
Fields
| |
Instances
newOriginCustomHeader Source #
Arguments
| :: 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.