CloudFrontSecurityHeadersSchema
Index
Properties
optionalcontentSecurityPolicy
The value of Content-Security-Policy, verbatim, e.g.
default-src 'self'; img-src 'self' https://images.example.com. At most 1783 characters.
optionalcontentTypeOptions
Whether to send X-Content-Type-Options, which stops a browser from treating a response as a
content type other than the one it declares.
optionalframeOptions
The value of X-Frame-Options. See ICloudFrontFrameOption.
optionalreferrerPolicy
The value of Referrer-Policy. See ICloudFrontReferrerPolicy.
optionalstrictTransportSecurityMaxAge
The max-age of Strict-Transport-Security: how long a browser keeps using HTTPS for this host,
in seconds. The header also covers every host below this one, and cannot be
added to the lists of HTTPS-only hosts that browsers ship with.
The security headers a response headers policy adds. A
nullfield adds nothing for that header. Every header set here replaces one the origin sent under the same name.Resources/CloudFrontDistribution