Skip to content

yukpiz/step-functions-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

step-functions-example

step-functions

{
  "StartAt": "Lambda1",
  "States": {
    "Lambda1": {
      "Type": "Task",
      "Resource": "arn:aws:lambda:ap-northeast-1:{AWS_ACCOUNT_ID}:function:step-functions-example_lambda1",
      "Next": "Wait1"
    },
    "Wait1": {
      "Type": "Wait",
      "Seconds": 10,
      "Next": "Lambda2"
    },
    "Lambda2": {
      "Type": "Task",
      "Resource": "arn:aws:lambda:ap-northeast-1:{AWS_ACCOUNT_ID}:function:step-functions-example_lambda2",
      "ResultPath": "$.iterator",
      "Next": "CheckLoop"
    },
    "CheckLoop": {
      "Type": "Choice",
      "Choices": [{
        "Variable": "$.iterator.next_loop",
        "BooleanEquals": true,
        "Next": "Wait1"
      }],
      "Default": "ExitProcess"
    },
    "ExitProcess": {
      "Type": "Succeed"
    }
  }
}

About

乁( •ω•乁)( 厂•ω• )厂うぇーい

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages