This is a blank project for CDK development with TypeScript.
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
Deploy 2x AWS API Gateway REST APIs, one Regional and one Edge.
AWS_DEFAULT_REGION=us-east-2 npm run cdk deploy ApiPerformanceMeasurementStack
This will export 2x exports with a command that can be used to measure the performance of both API endpoints.