sakazuki / step-functions-draw.io

You can make a AWS step functions workflow with GUI and export/import JSON/YAML.
GNU General Public License v3.0
278 stars 34 forks source link
aws diagram drag drawio gui step-functions

AWS Step Functions Workflow Designer

About this

Quick Start

  1. Access to https://www.draw.io/.
  2. Select Save Option (ex. Decide Later...)
  3. Select Menu [Extras]-[Plugins]
  4. Click [Add] and Click [Custom...]
  5. Input https://cdn.jsdelivr.net/gh/sakazuki/step-functions-draw.io@0.6.3/dist/aws-step-functions.js
  6. [Apply]
  7. Reload the page

Example

  1. Drag and drop a Start on a diagram
  2. Drag and drop a Task on a diagram
  3. Select Task, and click a Settings(gear) icon, and Input params
  4. Drag a connection from Start to Task
  5. Drag and drop a End on a diagram
  6. Drag a connection from Task to End
  7. Menu [StepFunctions]-[Export JSON]
  8. Copy the output and paste it to AWS Step Functions management console.

Usage

Top-level fields

AWS config

Choice Connection Condition field

Retry

Weight fields

Feature

Useful TIPS

Direct version

  1. Download binary from Releases page
  2. Execute step-functions-app.exe or step-functions-app-macos
  3. Select Save Option (ex. Decide Later...)
  4. Select Menu [Extras]-[Plugins]
  5. Click [Add]
  6. Input https://cdn.jsdelivr.net/gh/sakazuki/step-functions-draw.io@0.4.3/aws-step-functions.js
  7. [Apply]
  8. Reload the page (Right click on a header part, and select reload menu.)

Advanced usage

git clone https://github.com/sakazuki/step-functions-draw.io.git
cd step-functions-draw.io
npm install
node carlo.js

# Select Menu [Extras]-[Plugins]
# Click [Add]
# Input https://localhost/aws-step-functions.js
# [Apply]
# Reload the page (Right click on a header part, and select reload menu.)

Version history