Skip to content

Commit

Permalink
fix(aws-lambda): mark NODEJS_12_X as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart authored Sep 17, 2022
1 parent ce27789 commit ef1fb9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-lambda/lib/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export class Runtime {

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

Expand Down

0 comments on commit ef1fb9e

Please sign in to comment.