generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
Description
Summary
The AWS SDK offers the possibility of appending a user agent to requests sourcing the value from a known JVM system property sdk.ua.appId
(https://docs.aws.amazon.com/sdkref/latest/guide/feature-appid.html). We should set/append this system property.
Why is this needed?
So that we can append the Powertools user agent to AWS SDK clients more effectively.
Which area does this relate to?
Governance
Solution
We can use SDK Global Execution Interceptors with a static {}
block setting this JVM property before an SDK client is initialized.
Acknowledgment
- This request meets Powertools for AWS Lambda (Java) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, TypeScript
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Pending review