[
  // Straight to success
  {
    "input": {
      "wait_time": 2,
    },
    "output": "SUCCEEDED",
    "states": ["Submit Job", "Wait X Seconds", "Get Job Status", "Job Complete?", "Get Final Job Status"],
    "task_behavior": {
      "arn:aws:lambda:region-1:1234567890:function:SubmitJob": {
        "output": "1234"
      },
      "arn:aws:lambda:region-1:1234567890:function:CheckJob": {
        "output": "SUCCEEDED"
      }
    }
  },

  // Straight to failed
  {
    "input": {
      "wait_time": 2,
    },
    "error": {
      "Error": "DescribeJob returned FAILED",
      "Cause": "AWS Batch Job Failed",
    },
    "states": ["Submit Job", "Wait X Seconds", "Get Job Status", "Job Complete?", "Job Failed"],
    "task_behavior": {
      "arn:aws:lambda:region-1:1234567890:function:SubmitJob": {
        "output": "1234"
      },
      "arn:aws:lambda:region-1:1234567890:function:CheckJob": {
        "output": "FAILED"
      }
    }
  },


  // Check status twice
  {
    "input": {
      "wait_time": 2,
    },
    "output": "SUCCEEDED",
    "states": [
      "Submit Job",
      "Wait X Seconds",
      "Get Job Status",
      "Job Complete?",
      "Wait X Seconds",
      "Get Job Status",
      "Job Complete?",
      "Get Final Job Status",
    ],
    "task_behavior": {
      "arn:aws:lambda:region-1:1234567890:function:SubmitJob": {
        "output": "1234"
      },
      "arn:aws:lambda:region-1:1234567890:function:CheckJob": [
        {"output": "RUNNING"},
        {"output": "SUCCEEDED"},
        {"output": "SUCCEEDED"},
      ]
    }
  },


]