libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFront.Types.OriginCustomHeader

Description

 
Synopsis

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

Instances details
Eq OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Read OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Show OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Generic OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Associated Types

type Rep OriginCustomHeader :: Type -> Type #

NFData OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

Methods

rnf :: OriginCustomHeader -> () #

Hashable OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

FromXML OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

ToXML OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

type Rep OriginCustomHeader Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginCustomHeader

type Rep OriginCustomHeader = D1 ('MetaData "OriginCustomHeader" "Amazonka.CloudFront.Types.OriginCustomHeader" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginCustomHeader'" 'PrefixI 'True) (S1 ('MetaSel ('Just "headerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "headerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newOriginCustomHeader Source #

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.