According to Amazon's documentation, step function can be invoked using HTTP API.
Step Functions can be accessed and used with the Step Functions console, the AWS SDKs, or an HTTP API.
I tried to search the detailed information, but can't seem to find any good ones. Does anyone know how to invoke AWS step function using API gateway, similar to the way it invokes Lambda functions?
Open the Step Functions console and choose Create state machine. Choose Run a sample project, and then choose Make a call to API Gateway. The state machine Code and Visual Workflow are displayed. Choose Next.
Under Event pattern, do the following: In the Event source dropdown list, keep the default selection of AWS services. From the AWS service dropdown list, choose Step Functions. From the Event Type dropdown list, choose Step Functions Execution Status Change.
If you need to call StepFunction from API Gateway, it's now possible and described well in docs: https://docs.aws.amazon.com/step-functions/latest/dg/tutorial-api-gateway.html
AWS Service
Step Functions
from the listPOST
from the listUse action name
StartExecution
API Gateway
trusted identity provider and attached policy AWSStepFunctionsFullAccess
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With