OriginFailoverConfig

class aws_cdk.aws_cloudfront.OriginFailoverConfig(*, failover_origin, status_codes=None)

Bases: object

(experimental) The failover configuration used for Origin Groups, returned in {@link OriginBindConfig.failoverConfig}.

Parameters
  • failover_origin (IOrigin) – (experimental) The origin to use as the fallback origin.

  • status_codes (Optional[List[Union[int, float]]]) – (experimental) The HTTP status codes of the response that trigger querying the failover Origin. Default: - 500, 502, 503 and 504

Stability

experimental

Attributes

failover_origin

(experimental) The origin to use as the fallback origin.

Stability

experimental

Return type

IOrigin

status_codes

(experimental) The HTTP status codes of the response that trigger querying the failover Origin.

Default
  • 500, 502, 503 and 504

Stability

experimental

Return type

Optional[List[Union[int, float]]]