This is a project that contains a few examples to use subresources for API Gateway in the CDK. It contains a Lambda integration with the API Gateway subresources.
These examples are NOT production-ready code. Use at your own discretion.
These examples do NOT come with any liability or support.
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