AWS::CloudFront::ResponseHeadersPolicy AccessControlAllowOrigins - AWS CloudFormation

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