Skip to content

CloudFront  >  Structures  >  OriginGroupFailoverCriteria

OriginGroupFailoverCriteria

Structure Class

OriginGroupFailoverCriteria dataclass

Bases: _SerdeShape

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.

Attributes

status_codes instance-attribute
status_codes: StatusCodes

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