This is a project for TypeScript development with CDK.
The cdk.json
file tells the CDK Toolkit how to execute the app.
This is the infra that mostly powers my personal website. I setup the ACM cert & route53 hosted zone manually, but the S3 & Cloudfront is defined here. I then manually upload files to S3 and manually invalidate cloudfront for the changes to go live. It also supports CORS.
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 the default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template