How to invoke AWS step function using API Gateway?

0 votes

It's given in AWS Documentation that step function can be invoked using HTTP API. Here is the snippet:

Step Functions can be accessed and used with the Step Functions console, the AWS SDKs, or an HTTP API

Apart from this I couldn't find any other information. Does anyone know how to invoke AWS step function using API gateway, similar to the way it invokes Lambda functions?

Mar 18 in AWS by datageek
• 3,040 points
57 views

1 answer to this question.

0 votes

It is possible to call StepFunction from API Gateway. You can simply follow the steps listed below:

  • 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
answered Mar 18 by Archana
• 5,560 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How to Enable CORS for an AWS API Gateway Resource

Since you're using Lambda Proxy integration for ...READ MORE

answered Jul 10, 2018 in AWS by Hammer
• 360 points
552 views
0 votes
1 answer

How to get AWS account/service cost using CloudWatch API?

You can check this link for a ...READ MORE

answered Jul 13, 2018 in AWS by Priyaj
• 56,200 points
141 views
0 votes
1 answer
0 votes
1 answer

how to access AWS S3 from Lambda in VPC

With boto3, the S3 urls are virtual by default, ...READ MORE

answered Sep 28, 2018 in AWS by Priyaj
• 56,200 points
1,442 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to invoke the AWS lambda function from Java code

There are 2 methods in this class which should ...READ MORE

answered Feb 19 in AWS by Archana
• 5,560 points
455 views