-
Notifications
You must be signed in to change notification settings - Fork 0
/
state.json
57 lines (57 loc) · 1.02 KB
/
state.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"Comment": "A simple minimal example of the States language",
"StartAt": "Hello World",
"States": {
"Hello World": {
"Type": "Task",
"Resource": "func_nodeinfo",
"Next": "Goodbye World"
},
"Goodbye World": {
"Type": "Task",
"Resource": "func_wordcount",
"Next": "Wait ten seconds"
},
"Wait ten seconds": {
"Type": "Wait",
"Seconds": 2,
"Next": "In Parallel"
},
"In Parallel": {
"Type": "Parallel",
"Branches": [
{
"StartAt": "Echo",
"States": {
"Echo": {
"Type": "Task",
"Resource": "func_echoit",
"Next": "Funny Bunny"
},
"Funny Bunny": {
"Type": "Task",
"Resource": "func_wordcount",
"End": true
}
}
},
{
"StartAt": "Word Count",
"States": {
"Word Count": {
"Type": "Task",
"Resource": "func_wordcount",
"End": true
}
}
}
],
"Next": "Hash it out"
},
"Hash it out": {
"Type": "Task",
"Resource": "func_base64",
"End": true
}
}
}