amazon-web-services - 在 ECS 任务的步骤函数中使用 .sync

标签 amazon-web-services amazon-ecs aws-step-functions

使用 .sync 时,step 函数如何知道 ECS 任务何时完成执行 API?任何帮助将不胜感激

最佳答案

How does the step function know when the ECS Task has finished executing an API, when using .sync?

它只是等待任务退出。使用 .sync 时,Step Functions 无法知道任务是成功还是失败,它只知道任务已完成运行。

如果您希望 Step Functions 等待 ECS 发回成功响应,则需要使用 .waitForTaskToken

关于amazon-web-services - 在 ECS 任务的步骤函数中使用 .sync,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66873521/

相关文章:

postgresql - Amazon Redshift 如何从 s3 复制并设置 job_id

linux - Docker 命令挂起而没有响应

amazon-web-services - 由于端口正在使用,我无法将新容器部署到我的 ECS 集群

amazon-web-services - 如何将参数从 aws 状态机/step 函数传递到 aws lambda

amazon-web-services - 如何将输入传递到 CloudFormation 中 Step Function 目标的事件规则?

amazon-web-services - 安全组sg-xxxxx和子网subnet-xxxxx属于不同网络

amazon-web-services - Route53 私有(private)托管区域将在两个账户中通过 AWS VPC 对等工作吗

amazon-web-services - 地形 | AWS ECS 服务 |每个 tf apply 所需的计数值更改

amazon-web-services - ECR 生命周期策略异常

amazon-web-services - 在 AWS Step Functions 中迭代先前状态的结果