Skip to content

Commit

Permalink
chore(lambda): deprecate Node.js v16 runtime (#30842)
Browse files Browse the repository at this point in the history
### 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*
  • Loading branch information
sakurai-ryo authored Jul 12, 2024
1 parent b9165f0 commit 3524718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/aws-lambda/lib/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export class Runtime {

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

Expand Down

0 comments on commit 3524718

Please sign in to comment.