ResponseHeadersPolicyAccessControlAllowOrigins - Amazon CloudFront

ResponseHeadersPolicyAccessControlAllowOrigins

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.

Contents

Items

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

Type: Array of strings

Required: Yes

Quantity

The number of origins in the list.

Type: Integer

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: