Skip to content

A sample SAM template to connect api gateway to synchronous step function. And adding mapping template to insert api key, hardcode the step function arn

License

Notifications You must be signed in to change notification settings

bmccann36/api-gateway-to-synchronous-step-function

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Integrating Amazon API Gateway's REST API to AWS Step Functions' Synchronous Express Workflow

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.

Prerequisites

Usage

Clone the repository

git clone https://github.com/antstackio/api-gateway-to-synchronous-step-function.git

Build SAM Application

sam build -t template.json

Deploy SAM Application

Use the "guided" flag while deploying the SAM application for the first time.

sam deploy --guided      

Deleting SAM Application

Delete the deployed cloud formation stack to delete all the deployed resources.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

A sample SAM template to connect api gateway to synchronous step function. And adding mapping template to insert api key, hardcode the step function arn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%