AWS::CloudFront::Distribution StatusCodes - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

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 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