This repository contains the source code for the blog post: Step Functions with API Gateway integration, good idea?
It is based on AWS CDK (Cloud Development Kit), provides one stack with 2 state machines:
- one with API Gateway direct integration
- one more common with Lambda
For more information, read the blog post.
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