Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daohoangson/cdk-spa-on-cloudfront-s3
CDK script to deploy a SPA to a S3 bucket and distributed via CloudFront
https://github.com/daohoangson/cdk-spa-on-cloudfront-s3
Last synced: 25 days ago
JSON representation
CDK script to deploy a SPA to a S3 bucket and distributed via CloudFront
- Host: GitHub
- URL: https://github.com/daohoangson/cdk-spa-on-cloudfront-s3
- Owner: daohoangson
- Created: 2024-06-03T12:10:39.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-04T04:23:51.000Z (5 months ago)
- Last Synced: 2024-06-04T19:03:47.196Z (5 months ago)
- Language: JavaScript
- Homepage: https://cdk-spa-on-cloudfront-s3.vercel.app
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cdk-spa-on-cloudfront-s3
Less than 50 lines of JavaScript to deploy a SPA on AWS:
- Use CDK v2
- Use the new `cloudfront.Distribution` construct
- Simplify bucket policy with `cloudfront.OriginAccessIdentity`
- Pre-configured error response