AWS::CloudFront::Distribution StatusCodes - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::CloudFront::Distribution StatusCodes

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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Items" : [ Integer, ... ], "Quantity" : Integer }

YAML

Items: - Integer Quantity: Integer

Properties

Items

The items (status codes) for an origin group.

Required: Yes

Type: Array of Integer

Minimum: 1

Update requires: No interruption

Quantity

The number of status codes.

Required: Yes

Type: Integer

Update requires: No interruption