1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
The extension runs in your execution environment, so if you're running 5 functions in parallel then you have 5 execution environments so 5 independent instances of the extension.
Yes you could store a retreived secret in a global var rather than using the extension's caching - there's not much difference really. But there's still an advantage to using the extension for that initial retrieval if it means you reduce SDK initialisation cost.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 7 Monaten
- AWS OFFICIALAktualisiert vor 10 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren