AWS::CloudFront::ResponseHeadersPolicy AccessControlAllowOrigins - 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::ResponseHeadersPolicy AccessControlAllowOrigins

A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header.

For more information about the Access-Control-Allow-Origin HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.

Syntax

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

JSON

{ "Items" : [ String, ... ] }

YAML

Items: - String

Properties

Items

The list of origins (domain names). You can specify * to allow all origins.

Required: Yes

Type: Array of String

Update requires: No interruption