Is this feature request related to a new or existing Amplify category?
hosting
Is this related to another service?
CloudFront
Describe the feature you'd like to request
Whoever wants to deploy a secure, production-grade frontend will sooner or later consider implementing security headers. Luckily CloudFront offers predefined policy for returning security headers: Referrer-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, X-XSS-Protection with commonly implemented values. These can be combined with CORS settings.
Is this feature request related to a new or existing Amplify category?
hosting
Is this related to another service?
CloudFront
Describe the feature you'd like to request
Whoever wants to deploy a secure, production-grade frontend will sooner or later consider implementing security headers. Luckily CloudFront offers predefined policy for returning security headers: Referrer-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, X-XSS-Protection with commonly implemented values. These can be combined with CORS settings.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-response-headers-policies.html
Describe the solution you'd like
Add option to
amplify configure hosting
to add managed security headers policy to CloudFrontDescribe alternatives you've considered
Adding it manually to Cloudfront
Additional context
No response
Is this something that you'd be interested in working on?
Would this feature include a breaking change?