Skip to content

CloudFront  >  Structures  >  StatusCodes

StatusCodes

Structure Class

StatusCodes dataclass

Bases: _SerdeShape

A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.

Attributes

items instance-attribute
items: list[int]

The items (status codes) for an origin group.

quantity instance-attribute
quantity: int

The number of status codes.