aws-cdk-examples icon indicating copy to clipboard operation
aws-cdk-examples copied to clipboard

Simpler version of typescript/static-site

Open shamsch opened this issue 4 months ago • 1 comments

Describe the feature

Currently, typescript/static-site uses cloudfront, acm, route53 to direct the traffic from http to https. I propose a simpler version of static-site that skips that part and only provide a direct public link to the s3 object.

Use Case

Having cloudfront, acm, route53 makes deployment of a static html file with S3 more complicated than it needs to be. Sometime all you need is a proof of concept - and in such case going the extra length to have https support does not justify itself.

Proposed Solution

Essentially keep the stack the same as before and only keep the s3 bucket and make it publicly accessible. Also aligning with the current folder structure of cdk init and it will be stable unlike the current typescript/static-site

So in essence, deploy a html file to a S3 bucket that is publicly accessible so as to be able to access the file from the internet

Other Information

No response

Acknowledgements

  • [X] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

Language

Typescript

shamsch avatar Mar 26 '24 15:03 shamsch