Testing timestamps registered by Lambda when there's async code in init step
The cdk.json
file tells the CDK Toolkit how to execute your app.
- Install Node.js 18.x or later.
- Enable corepack by running
corepack enable
. - Install dependencies by running
yarn
.
yarn build
compile typescript to jsyarn watch
watch for changes and compileyarn test
perform the jest unit testsyarn cdk deploy
deploy this stack to your default AWS account/regionyarn cdk diff
compare deployed stack with current stateyarn cdk synth
emits the synthesized CloudFormation template