-
Notifications
You must be signed in to change notification settings - Fork 4.5k
SDKv3-02: Update aws-lambda-nodejs in aws-cdk-lib #29836
Copy link
Copy link
Closed
Description
Context
The AWS SDK V2 is being deprecated. We need to remove all uses of it from the CDK.
Considerations
- Should be completed after SDKv3-01 and follow the same/similar plan for deprecation of v2. Consider adding a warning for now that we will remove use of SDKv2 in a few weeks and then make this change then.
- Be aware of the node 20 upgrade happening in this package as well.
Task Description
We do not use sdk v2 directly in the package. However, we have logic around keeping the sdk from being bundled into the handler. That logic is tied to the runtime, and assumes the corresponding sdk version is included in the lambda runtime. We need to warn users that upgrading their lambda runtime can break handler code that uses sdk v2 calls.
The deprecation date for node16 Lambda runtimes is June 12, 2024. Lambda will block function creation on July 16, 2024 and will block function updates on August 15, 2024.
Acceptance Criteria
- Remove all other uses of SDKv2.
- Update relevant integ tests and verify that the impacted custom resources successfully deploy and behave as expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels