static site infra demo
1.0.0
This demo project accompanies the article at https://idanlupinsky.com/blog/static-site-deployment-using-aws-cloudfront-and-the-cdk/.
Make sure to update the AWS account, region and domain name in the CDK stack and then try cdk diff.
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