Skip to content

Commit 3524718

Browse files
authored
chore(lambda): deprecate Node.js v16 runtime (#30842)
### Reason for this change As documented, the Node.js v16 runtime was deprecated on June 12, 2024. https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html ### Description of changes ### Description of how you validated changes ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent b9165f0 commit 3524718

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/aws-cdk-lib/aws-lambda/lib/runtime.ts

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export class Runtime {
9898

9999
/**
100100
* The NodeJS 16.x runtime (nodejs16.x)
101+
* @deprecated Legacy runtime no longer supported by AWS Lambda. Migrate to the latest NodeJS runtime.
101102
*/
102103
public static readonly NODEJS_16_X = new Runtime('nodejs16.x', RuntimeFamily.NODEJS, { supportsInlineCode: true });
103104

0 commit comments

Comments
 (0)