1 個回答
- 最新
- 最多得票
- 最多評論
1
I had to use the set variable before the JSON structure. I was trying it inside and was failing at the syntax validation.
#set($milliseconds = $context.requestTimeEpoch + 2*86400000)
This sets the milliseconds variable to current epoch + 2 days and this variable can be used in subsequent JSON.
已回答 3 年前
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前