File tree Expand file tree Collapse file tree 1 file changed +22
-7
lines changed
Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "Comment" : " A simple example of the Steps language using an AWS Lambda Function" ,
3- "StartAt" : " Hello " ,
3+ "StartAt" : " Parallel " ,
44
55 "States" : {
6- "Hello" : {
7- "Type" : " Task" ,
8- "Resource" : " arn:aws:lambda:eu-west-1:99999999999:function:HelloWord_Step" ,
9- "Next" : " Parallel"
10- },
11-
126 "Parallel" : {
137 "Type" : " Parallel" ,
148 "Next" : " Goodbye" ,
2418 "Calculate Radius" : {
2519 "Type" : " Task" ,
2620 "Resource" : " arn:aws:lambda:eu-west-1:9999999999:function:HelloWord_Step" ,
21+ "Retry" : [
22+ {
23+ "ErrorEquals" : [" ErrorA" , " ErrorB" ],
24+ "IntervalSeconds" : 1 ,
25+ "BackoffRate" : 2.0 ,
26+ "MaxAttempts" : 2
27+ },
28+ {
29+ "ErrorEquals" : [" ErrorG" ],
30+ "IntervalSeconds" : 5
31+ }
32+ ],
33+ "Catch" : [
34+ {
35+ "ErrorEquals" : [" States.All" ],
36+ "Next" : " Radius error"
37+ }
38+ ],
2739 "Next" : " Calculate Area"
2840 },
41+ "Radius error" : {
42+ "Type" : " Fail"
43+ },
2944 "Calculate Area" : {
3045 "Type" : " Task" ,
3146 "Resource" : " arn:aws:lambda:eu-west-1:9999999999:function:HelloWord_Step" ,
You can’t perform that action at this time.
0 commit comments