Upgrade to v2
TODO List:
- Finish upgrades to v2 using
aws-cdk-lib
shared package - Setup bootstrap stack(s) to convert full v2 usage
Guides & References:
- https://dev.to/aws-builders/how-to-migrate-cdk-v1-to-cdk-v2-in-10-minuets-6i6
- https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html
Deprecated API's:
Useful commands
-
npm run build
compile typescript to js -
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