amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.Types.OriginGroup

Description

 
Synopsis

Documentation

data OriginGroup Source #

An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specifiy the origin group instead of a single origin, and CloudFront will failover from the primary origin to the second origin under the failover conditions that you've chosen.

See: newOriginGroup smart constructor.

Constructors

OriginGroup' 

Fields

Instances

Instances details
FromXML OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

ToXML OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Methods

toXML :: OriginGroup -> XML #

Generic OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Associated Types

type Rep OriginGroup :: Type -> Type #

Read OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Show OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

NFData OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Methods

rnf :: OriginGroup -> () #

Eq OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

Hashable OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

type Rep OriginGroup Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroup

type Rep OriginGroup = D1 ('MetaData "OriginGroup" "Amazonka.CloudFront.Types.OriginGroup" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "OriginGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "failoverCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginGroupFailoverCriteria) :*: S1 ('MetaSel ('Just "members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginGroupMembers))))

newOriginGroup Source #

Create a value of OriginGroup 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:id:OriginGroup', originGroup_id - The origin group's ID.

$sel:failoverCriteria:OriginGroup', originGroup_failoverCriteria - A complex type that contains information about the failover criteria for an origin group.

$sel:members:OriginGroup', originGroup_members - A complex type that contains information about the origins in an origin group.

originGroup_id :: Lens' OriginGroup Text Source #

The origin group's ID.

originGroup_failoverCriteria :: Lens' OriginGroup OriginGroupFailoverCriteria Source #

A complex type that contains information about the failover criteria for an origin group.

originGroup_members :: Lens' OriginGroup OriginGroupMembers Source #

A complex type that contains information about the origins in an origin group.