aws-cloudfront needs love
See original GitHub issueWe should redesign the API for the aws-cloudfront construct library. There’s a lot we can do in order to make it friendlier, less error-prone and less flat and declarative. At the moment, it’s basically “leaking” the low level API provided by CloudFormation.
Furthermore, it would be awesome if one could use Assets
to point to a local directory that includes the web distribution content and have the toolkit do the work of uploading it to S3 and all that.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:16
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Amazon CloudFront Customers
We love how easy it is to set up a distribution, having the full control over the features, as well as the seamless...
Read more >Lessons from Rolling out CloudFront on top of a Static S3 Site
However, AWS S3 hosting currently does not support SSL certificates, and thereby HTTPS connections. Because of this, we need to plop one ...
Read more >Why You Shouldn't Use AWS S3 or CloudFront to Deliver ...
But S3, the most popular solution for storing on the cloud and the one everyone loves, should not always be your choice. In...
Read more >Installing Godaddy SSL Certificates on AWS Cloudfront
... SSL certificate on to Amazon's Cloudfront CDN network is briefly explained here and meant to be a quickstart guide for those that...
Read more >Find Answers to AWS Questions about Amazon CloudFront
meta.url); var AWS = require('aws-cloudfront-sign'); export const handler = async(event) => { var signingParams = ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For reference, this is what the current API looks like just to setup a simple SPA/PWA:
The new API should improve the linking of S3 buckets to CloudFront distributions, and abstract away the need to explicitly create a
CloudFrontOriginAccessIdentityResource
.It would be really nice if we could tie this in with #605 to handle certificate generation/validation too.
👍
The “love” this module needs was designed in this RFC (https://github.com/aws/aws-cdk-rfcs/issues/171) and implementation of the initial “Developer Preview” version is being tracked via this milestone: https://github.com/aws/aws-cdk/milestone/5.
There is also the overall tracking issue #6490 where high-level feature work can be tracked.
Closing this issue out in favor of the above.