我已經能夠使用 awscli 開始執行,但我需要能夠知道何時完成或結果成功,然后才能進入管道中的下一步。
aws stepfunctions start-execution --state-machine-arn arn:aws:states:us-west-2:2xx244xxxx:stateMachine:SamplePipeOrchestration-ftpiles --name SamplePipeOrchestration-ftpiles --input {} --region us-west-2 --profile sampledev
uj5u.com熱心網友回復:
您必須以回圈的形式開發自己的服務員,該回圈迭代地查詢(例如每 10 秒)您的執行狀態(例如使用describe-execution并檢查成功或失敗的完成。
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/435115.html
上一篇:使用CloudFormation腳本更新現有Eventbridge規則以包含新目標
下一篇:使用DNS訪問EC2實體
