Here's a sample SAM application that provides the resources to integrate Amazon API Gateway's REST API to AWS Step Functions' Synchronous Express Workflow. And to add to that, it also includes API key configuration, passing the API Key to the Step Function execution. The application also provides mapping templates to help in input and output data modeling for the API.
- AWS Account
- Configuring AWS Credentials
- SAM CLI
git clone https://github.com/antstackio/api-gateway-to-synchronous-step-function.git
sam build -t template.json
Use the "guided" flag while deploying the SAM application for the first time.
sam deploy --guided
Delete the deployed cloud formation stack to delete all the deployed resources.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.