Reputation: 629
I am designing a workflow which should get call from API gateway as it is a platform service and all user authentication and API auth is handled by API gateway, I first considered using step function but throttling limit is just 2 per second which is not enough for my use case. Now I am considering to use Simple Work Flow where throttling limit is much better but I couldn't find any document showing API gateway can directly call SWF like Stpe function . What is the best way to call SWF StartWorkflowExecution via API gateway given that SWF supports HTTP Requests?
Upvotes: 0
Views: 555
Reputation: 427
Another option would be to use API gateway proxy integration type for AWS service (see the image below).
If you are not passing the request payload in the format required for the startworkflow execution api call make sure to map to it using the api gateway Integration Request
Upvotes: 0
Reputation: 19738
For this you need to write a Lambda function using AWS SWF SDK (e.g JavaScript SDK) to start the execution using startWorkflowExecution
.
Upvotes: 2