1 Answer
- Newest
- Most votes
- Most comments
0
【以下的回答经过翻译处理】 这看起来应该是可以工作的,特别是从 S3 的配置文件角度来看,当您上传文件时,可以触发Lambda。我建议在此处查看有关创建请求以修改ECS的文档[1]。 它还包含使用AWS SDK的多种语言的参考请求。例如,这里提供了Javascript的链接[2]。
要对失败的部署进行故障排除,建议查看CloudWatch日志[3][4]。
[1]https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
[2]https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ECS.html#updateService-property
[3]https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_cloudwatch_logs.html
[4]https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-logging-monitoring.html
Relevant content
- asked 2 years ago
- asked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 6 months ago