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

ResponseHeadersPolicyStrictTransportSecurity

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

Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value.

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

interface ResponseHeadersPolicyStrictTransportSecurity {
AccessControlMaxAgeSec: number;
IncludeSubdomains?: boolean | null;
Override: boolean;
Preload?: boolean | null;
}

§Properties

§
AccessControlMaxAgeSec: number
[src]

A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header.

§
IncludeSubdomains?: boolean | null
[src]

A Boolean that determines whether CloudFront includes the includeSubDomains directive in the Strict-Transport-Security HTTP response header.

§
Override: boolean
[src]

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

§
Preload?: boolean | null
[src]

A Boolean that determines whether CloudFront includes the preload directive in the Strict-Transport-Security HTTP response header.