1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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.
con risposta 3 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 4 mesi fa
- AWS UFFICIALEAggiornata un anno fa