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

Description

 
Synopsis

Documentation

data OriginGroupFailoverCriteria Source #

A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin.

See: newOriginGroupFailoverCriteria smart constructor.

Constructors

OriginGroupFailoverCriteria' 

Fields

  • statusCodes :: StatusCodes

    The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.

Instances

Instances details
Eq OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Read OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Show OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Generic OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Associated Types

type Rep OriginGroupFailoverCriteria :: Type -> Type #

NFData OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

Hashable OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

FromXML OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

ToXML OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

type Rep OriginGroupFailoverCriteria Source # 
Instance details

Defined in Amazonka.CloudFront.Types.OriginGroupFailoverCriteria

type Rep OriginGroupFailoverCriteria = D1 ('MetaData "OriginGroupFailoverCriteria" "Amazonka.CloudFront.Types.OriginGroupFailoverCriteria" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "OriginGroupFailoverCriteria'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statusCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StatusCodes)))

newOriginGroupFailoverCriteria Source #

Create a value of OriginGroupFailoverCriteria 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:statusCodes:OriginGroupFailoverCriteria', originGroupFailoverCriteria_statusCodes - The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.

originGroupFailoverCriteria_statusCodes :: Lens' OriginGroupFailoverCriteria StatusCodes Source #

The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.