Skip to content

CloudFront  >  Structures  >  ResponseHeadersPolicyAccessControlAllowOrigins

ResponseHeadersPolicyAccessControlAllowOrigins

Structure Class

ResponseHeadersPolicyAccessControlAllowOrigins dataclass

Bases: _SerdeShape

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.

Attributes

items instance-attribute
items: list[str]

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

quantity instance-attribute
quantity: int

The number of origins in the list.