How to Invoke AWS step function using API gateway?

后端 未结 4 1145
天涯浪人
天涯浪人 2021-01-18 13:34

According to Amazon\'s documentation, step function can be invoked using HTTP API.

Step Functions can be accessed and used with the Step Functions c

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-18 14:16

    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

    • For Integration Type, choose AWS Service
    • For AWS Service, choose Step Functions from the list
    • For HTTP Method, choose POST from the list
    • For Action Type, choose Use action name
    • For Action, type StartExecution
    • For Execution Role, type ARN of role with API Gateway trusted identity provider and attached policy AWSStepFunctionsFullAccess

提交回复
热议问题