-
Notifications
You must be signed in to change notification settings - Fork 73
AWS Step
0xuser edited this page Jun 15, 2020
·
5 revisions
TO DO..
- Invoking Lambda functions
- ..
- ..
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.
{
"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
TO DO