簡體   English   中英

如何讓 AWS Step function 任務等待 SNS 消息?

[英]How to make an AWS Step function task wait for a SNS Message?

我需要一個包含多個步驟的 AWS Step function,如下所示

Start >>
Step 1 [ Lambda ] >> 
Step 2 [ Lambda that calls itself multiple times and send out a SNS message when done ] >> 
Step 3 [ needs to be triggered only when the SNS message is received ] >>
End

如何讓第 3 步等待 SNS 消息?

你不能,但你可以不使用 SNS 將步驟 2 的結果發送到步驟 3

確保在此處閱讀有關輸出/輸入/結果的文檔https://docs.aws.amazon.com/step-functions/latest/dg/concepts-input-output-filtering.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM