Closed
Description
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
- This feature request meets Powertools for AWS Lambda (Python) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Type
Projects
Status
Shipped