This the companion repo to my blog post Using the AWS CDK With LocalStack and aws-cdk-local
It follows from the original post AWS CDK With Typescript Foundations.
It will create a simple S3 bucket and tear that bucket down when destroyed.
Command | Description |
---|---|
npm run build |
Compile TypeScript to JavaScript |
npm run watch |
Watch for changes and compile |
npm run test |
Perform the Jest unit tests |
cdk deploy |
Deploy this stack to your default AWS account/region |
cdk diff |
Compare deployed stack with current state |
cdk synth |
Emits the synthesized CloudFormation template |
cdk destroy |
Tear down your deployed stack |