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

AwsCorsConfiguration

import type { AwsCorsConfiguration } from "https://aws-api.deno.dev/v0.4/services/securityhub.ts?docs=full";

Contains the cross-origin resource sharing (CORS) configuration for the API. CORS is only supported for HTTP APIs.

interface AwsCorsConfiguration {
AllowCredentials?: boolean | null;
AllowHeaders?: string[] | null;
AllowMethods?: string[] | null;
AllowOrigins?: string[] | null;
ExposeHeaders?: string[] | null;
MaxAge?: number | null;
}

§Properties

§
AllowCredentials?: boolean | null
[src]

Indicates whether the CORS request includes credentials.

§
AllowHeaders?: string[] | null
[src]

The allowed headers for CORS requests.

§
AllowMethods?: string[] | null
[src]

The allowed methods for CORS requests.

§
AllowOrigins?: string[] | null
[src]

The allowed origins for CORS requests.

§
ExposeHeaders?: string[] | null
[src]

The exposed headers for CORS requests.

§
MaxAge?: number | null
[src]

The number of seconds for which the browser caches preflight request results.