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

ResponseHeadersPolicyContentSecurityPolicy

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

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.

interface ResponseHeadersPolicyContentSecurityPolicy {
ContentSecurityPolicy: string;
Override: boolean;
}

§Properties

§
ContentSecurityPolicy: string
[src]

The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.

§
Override: boolean
[src]

A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.