Sha256: 5827e8f08d7b09ef110f8a96d9208d414b1ce44dbd8d2c7dfc5bf46a31c8ca77

Contents?: true

Size: 949 Bytes

Versions: 2

Compression:

Stored size: 949 Bytes

Contents

{
  "Comment": "Using Map state in Inline mode",
  "StartAt": "Pass",
  "States": {
    "Pass": {
      "Type": "Pass",
      "Next": "Map demo",
      "Result": {
        "foo": "bar",
        "colors": [
          "red",
          "green",
          "blue",
          "yellow",
          "white"
        ]
      }
    },
    "Map demo": {
      "Type": "Map",
      "ItemsPath": "$.colors",
      "MaxConcurrency": 2,
      "ItemProcessor": {
        "ProcessorConfig": {
          "Mode": "INLINE"
        },
        "StartAt": "Generate UUID",
        "States": {
          "Generate UUID": {
            "Type": "Pass",
            "Next": "Sleep",
            "Parameters": {
              "uuid.$": "States.UUID()"
            }
          },
          "Sleep": {
            "Type": "Task",
            "Resource": "docker://docker.io/agrare/sleep:latest",
            "End": true
          }
        }
      },
      "End": true
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
floe-0.15.1 examples/map.asl
floe-0.15.0 examples/map.asl