aws / aws/serverless-application-model

Support Step Function Actions in Api Gateway

Open
#1,664 3 comments 4 reactions 0 assignees View on GitHub
area/step-function area/step-function/event-source maintainer/need-followup stage/pm-review type/feature type/new-property
Dominant language
Python
Stars
9.6k
Forks
2.5k
Avg merge
1d 11h
Merged PRs (30d)
7

Description

### Feature Proposal

**Description:**

Similar to this post https://github.com/serverless-operations/serverless-step-functions/issues/72 for serverless-framework, I was wondering if there is an easy way to create Api Gateway endpoints that directly invoke Step Functions API actions (e.g. DescribeExecution, ListExecutions, etc.) without creating an entire Api Gateway resource that calls the URL. If not, is this a reasonable feature request? As mentioned in the post I linked, an "Action:" parameter could added to the _Events_ to distinguish the different actions (StartExecution, DescribeExecution, etc.):

```
Events:
StateMachineApi:
Type: Api
Properties:
Method: get
Path: /describe
Action:DescribeExecution
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.