FailoverStatusCode

class aws_cdk.aws_cloudfront.FailoverStatusCode(value)

Bases: enum.Enum

HTTP status code to failover to second origin.

Attributes

BAD_GATEWAY

Bad Gateway (502).

FORBIDDEN

Forbidden (403).

GATEWAY_TIMEOUT

Gateway Timeout (504).

INTERNAL_SERVER_ERROR

Internal Server Error (500).

NOT_FOUND

Not found (404).

SERVICE_UNAVAILABLE

Service Unavailable (503).