From 0d4782c38a07748dc6797ddd299dc0cb65b40732 Mon Sep 17 00:00:00 2001 From: sakurai-ryo Date: Fri, 12 Jul 2024 22:53:50 +0900 Subject: [PATCH] chore(lambda): deprecate node16 runtime --- packages/aws-cdk-lib/aws-lambda/lib/runtime.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts b/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts index efc478dc6675a..4ffb89f35b2d4 100644 --- a/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts +++ b/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts @@ -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 });