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

ResponseHeadersPolicyConfig

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

A response headers policy configuration.

A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers and their values. CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match a cache behavior associated with the policy.

interface ResponseHeadersPolicyConfig {
Comment?: string | null;
CorsConfig?: ResponseHeadersPolicyCorsConfig | null;
CustomHeadersConfig?: ResponseHeadersPolicyCustomHeadersConfig | null;
Name: string;
SecurityHeadersConfig?: ResponseHeadersPolicySecurityHeadersConfig | null;
}

§Properties

§
Comment?: string | null
[src]

A comment to describe the response headers policy.

The comment cannot be longer than 128 characters.

§

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

§

A configuration for a set of custom HTTP response headers.

§
Name: string
[src]

A name to identify the response headers policy.

The name must be unique for response headers policies in this Amazon Web Services account.

§

A configuration for a set of security-related HTTP response headers.