OriginGroup(*, fallback_origin, primary_origin, fallback_status_codes=None)¶
An Origin that represents a group.
Consists of a primary Origin, and a fallback Origin called when the primary returns one of the provided HTTP status codes.
IOrigin) – The fallback origin that should serve requests when the primary fails.
IOrigin) – The primary origin that should serve requests for this group.
float]]]) – The list of HTTP status codes that, when returned from the primary origin, would cause querying the fallback origin. Default: - 500, 502, 503 and 504