File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 66
66
"Choices" :
67
67
[
68
68
{
69
- "Variable" : " $.Detail.platformCapabilities[0]" ,
70
- "StringMatches" : " EC2" ,
71
- "Next" : " DynamoDB GetItem Instance Arn"
72
- },
73
- {
74
- "Variable" : " $.Detail.platformCapabilities[0]" ,
75
- "StringMatches" : " FARGATE" ,
69
+ "And" :
70
+ [
71
+ {
72
+ "Variable" : " $.Detail.platformCapabilities[0]" ,
73
+ "IsPresent" : true
74
+ },
75
+ {
76
+ "Variable" : " $.Detail.platformCapabilities[0]" ,
77
+ "StringMatches" : " FARGATE"
78
+ }
79
+ ],
76
80
"Next" : " DynamoDB PutItem FARGATE"
77
81
}
78
82
],
79
- "Default" : " Success "
83
+ "Default" : " DynamoDB GetItem Instance Arn "
80
84
},
81
85
"DynamoDB GetItem Instance Arn" :
82
86
{
158
162
},
159
163
"platform" :
160
164
{
161
- "S.$ " : " $$.Execution.Input.detail.platformCapabilities[0] "
165
+ "S" : " EC2 "
162
166
},
163
167
"logStream" :
164
168
{
You can’t perform that action at this time.
0 commit comments