Use case
When using the Parameters utility, customers can leverage caching to minimize API calls. The default cache TTL is 5 seconds, after which Powertools expires the cache and if the parameter value is required inside the Lambda handler, a new API call may be triggered.
We suggest increasing this value to 300 seconds (5 minutes) to avoid spikes in a highly intensive workload.
Solution/User Experience
Increase the default TTL value to 300 seconds (5 minutes).
Alternative solutions
No response
Acknowledgment
Use case
When using the Parameters utility, customers can leverage caching to minimize API calls. The default cache TTL is 5 seconds, after which Powertools expires the cache and if the parameter value is required inside the Lambda handler, a new API call may be triggered.
We suggest increasing this value to 300 seconds (5 minutes) to avoid spikes in a highly intensive workload.
Solution/User Experience
Increase the default TTL value to 300 seconds (5 minutes).
Alternative solutions
No response
Acknowledgment