Manual deploy
docker run --rm -v ${PWD}/lambda-rust:/code softprops/lambda-rust
cp ./lambda-rust/target/lambda/release/lambda-rust.zip ./lambda-rust.zip
npm run build
cdk deploy
Useful commands
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