Skip to content

AWS Step

0xuser edited this page Jun 15, 2020 · 5 revisions

AWS Step Functions [draft]

TO DO..

Capabilities

  • Invoking Lambda functions
  • ..
  • ..

Defining workflows

Amazon Step Functions is a state machine that has a definition of all possible steps and the transitions between them.

State machines are defined using JSON based language called Amazon States Language.

Example of a simple state machine definition

{
  "Comment": "Description of the state machine (all comments are optional)",
  "StartAt": "first_state",
  "States": {
    "first_state": {
      "Resource": "<ARN to Lambda function which should be executed in this step>",
      "Type": "Task",
      "Next": "second_state"
    },
    "second_state": {
      "Type": "Task",
      "Resource": "<ARN to Lambda function which should be executed in this step>"",
      "Next": "End"
    },
    "End": {
      "Type": "Succeed"
    }
  }
}

The state machine starts in state defined in the StartAt field. Then the system looks for a Next field and continues with the next defined state. This happens until an error occurs or the system encounters the End state.

For more information about syntax of this language, see the Amazon States Language Documentation

Limitations

TO DO

Clone this wiki locally