This AWS CDK project was created as some use cases for a simple To-Do website infrastructure as Code.
Here, you can reach my Medium article about Hosting Static Website With S3 Bucket by AWS CDK
If you like the solution, please don't forget to give a star ⭐ and follow me.
Thank you! ❤️
The cdk.json
file tells the CDK Toolkit how to execute your app.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template