Module Values.ResponseHeadersPolicyAccessControlAllowOriginsSource

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.

Sourcetype nonrec t = {
  1. quantity : Integer.t;
    (*

    The number of origins in the list.

    *)
  2. items : AccessControlAllowOriginsList.t;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : quantity:Integer.t -> items:AccessControlAllowOriginsList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `String of String_.t ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t