我有一个 step 函数,它应该调用 API Gateway 资源而不是 lambda。这样做的语法是什么?
{"Comment": "A Hello World example of the Amazon States Language using a Pass state",
"StartAt": "QueueProducts",
"States": {
"GetProductsFromDb": {
"Type": "Task",
"Resource":"some-lambda",
"Next": "InvokeAPIGatewayWorkers"
}
},
"InvokeAPIGatewayWorkers":{
"Type": "Parallel",
"Branches": [
....]
}
}
我的问题是,是否可以在资源中调用 API 网关而不是“some-lamda”