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.CustomHeaders

Description

 
Synopsis

Documentation

data CustomHeaders Source #

A complex type that contains the list of Custom Headers for each origin.

See: newCustomHeaders smart constructor.

Constructors

CustomHeaders' 

Fields

  • items :: Maybe [OriginCustomHeader]

    Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items.

  • quantity :: Int

    The number of custom headers, if any, for this distribution.

Instances

Instances details
Eq CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Read CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Show CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Generic CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Associated Types

type Rep CustomHeaders :: Type -> Type #

NFData CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Methods

rnf :: CustomHeaders -> () #

Hashable CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

FromXML CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

ToXML CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

Methods

toXML :: CustomHeaders -> XML #

type Rep CustomHeaders Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CustomHeaders

type Rep CustomHeaders = D1 ('MetaData "CustomHeaders" "Amazonka.CloudFront.Types.CustomHeaders" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CustomHeaders'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OriginCustomHeader])) :*: S1 ('MetaSel ('Just "quantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCustomHeaders Source #

Create a value of CustomHeaders 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:items:CustomHeaders', customHeaders_items - Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items.

$sel:quantity:CustomHeaders', customHeaders_quantity - The number of custom headers, if any, for this distribution.

customHeaders_items :: Lens' CustomHeaders (Maybe [OriginCustomHeader]) Source #

Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items.

customHeaders_quantity :: Lens' CustomHeaders Int Source #

The number of custom headers, if any, for this distribution.