Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ResponseHeadersPolicyAccessControlAllowOrigins

import type { ResponseHeadersPolicyAccessControlAllowOrigins } from "https://aws-api.deno.dev/v0.3/services/cloudfront.ts?docs=full";

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.

interface ResponseHeadersPolicyAccessControlAllowOrigins {
Items: string[];
Quantity: number;
}

§Properties

§
Items: string[]
[src]

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

§
Quantity: number
[src]

The number of origins in the list.