Step Function Wait time integers constraint error

0

Hello ,

I want to use the step functions 'Wait' shape in the flow, but the real challenge is the wait time in Seconds is restricting to integers only. I want to configure my wait step to 2.5 seconds, how can I do that? Please help me as i am new to Step Functions!

Updated: My Requirement is to control the wait time in milliseconds, so there is no point in restricting the time in Integer format, I don't understand why it is designed in that way??? any specific reason for restrictions?

已提問 2 年前檢視次數 382 次
2 個答案
-1

if you need to control the wait time in milliseconds, how about considering to use timeStampPath and pass the value calculated from the current timestamp?

https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-wait-state.html

已回答 2 年前
  • As you can see in the same doc you pointed to, Timestamps are also only in seconds interval. You can't specify milliseconds.

-1

Step Functions Wait state supports only integer values. Why do you need 2.5 seconds?

profile pictureAWS
專家
Uri
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南