aws-powertools / powertools-lambda-python

A developer toolkit to implement Serverless best practices and increase developer velocity.
https://docs.powertools.aws.dev/lambda/python/latest/
MIT No Attribution
2.84k stars 389 forks source link

Feature request: allow to provide an `appconfigdata` client in the `AppConfigStore` #4728

Closed adriantomas closed 3 months ago

adriantomas commented 3 months ago

Use case

Sometimes users want to reuse the appconfigdata client for their own cases or cache it between invocations outside the handler.

It may also be the case that they want to modify the endpoint_url client initialization argument to point to local emulators or to the AWS AppConfig Agent Lambda Extension.

Solution/User Experience

The solution is to add an argument to be able to send a boto3 client instance of appconfigdata to the AppConfigStore.

Alternative solutions

No response

Acknowledgment

leandrodamascena commented 3 months ago

Thanks for opening the issue @adriantomas!

github-actions[bot] commented 3 months ago

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.