serverless-operations/serverless-step-functions

Support for API Gateway WebSocket (WS) invocation

Open

#440 opened on Jun 27, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (189 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (954 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hey there - first off, thanks for making this plugin!

Feature request

State machines currently cannot be not invoked by websocket events

stepFunctions:
  stateMachines:
    myMachine:
      events:
        - websocket:
            route: $connect

Note: Full reproduction here

Initially I thought this was a bug (no error during deployment) but it looks like this just isn't supported currently.

Would be nice to have event feature parity with lambda functions :crossed_fingers:

Contributor guide