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

Description

 
Synopsis

Documentation

data CacheBehaviors Source #

A complex type that contains zero or more CacheBehavior elements.

See: newCacheBehaviors smart constructor.

Constructors

CacheBehaviors' 

Fields

  • items :: Maybe [CacheBehavior]

    Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

  • quantity :: Int

    The number of cache behaviors for this distribution.

Instances

Instances details
Eq CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Read CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Show CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Generic CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Associated Types

type Rep CacheBehaviors :: Type -> Type #

NFData CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Methods

rnf :: CacheBehaviors -> () #

Hashable CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

FromXML CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

ToXML CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

Methods

toXML :: CacheBehaviors -> XML #

type Rep CacheBehaviors Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CacheBehaviors

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

newCacheBehaviors Source #

Create a value of CacheBehaviors 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:CacheBehaviors', cacheBehaviors_items - Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

$sel:quantity:CacheBehaviors', cacheBehaviors_quantity - The number of cache behaviors for this distribution.

cacheBehaviors_items :: Lens' CacheBehaviors (Maybe [CacheBehavior]) Source #

Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

cacheBehaviors_quantity :: Lens' CacheBehaviors Int Source #

The number of cache behaviors for this distribution.