From 8c733efcc366ead37bc7401e3a0ce3a2505ecd09 Mon Sep 17 00:00:00 2001 From: Lee Packham Date: Wed, 19 Dec 2018 13:02:46 +0000 Subject: [PATCH] feat(aws-lambda): Add python 3.7 runtime (#1379) This runtime was announced on Nov 19 and had been missed from the Runtime list in the CDK, this adds it in. Tested inline editing as working in the console so left that enabled with this runtime also. --- packages/@aws-cdk/aws-lambda/lib/runtime.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@aws-cdk/aws-lambda/lib/runtime.ts b/packages/@aws-cdk/aws-lambda/lib/runtime.ts index 3fc1404d1391e..1cf5cfc559668 100644 --- a/packages/@aws-cdk/aws-lambda/lib/runtime.ts +++ b/packages/@aws-cdk/aws-lambda/lib/runtime.ts @@ -28,6 +28,7 @@ export class Runtime { public static readonly NodeJS810 = new Runtime('nodejs8.10', RuntimeFamily.NodeJS, { supportsInlineCode: true }); public static readonly Python27 = new Runtime('python2.7', RuntimeFamily.Python, { supportsInlineCode: true }); public static readonly Python36 = new Runtime('python3.6', RuntimeFamily.Python, { supportsInlineCode: true }); + public static readonly Python37 = new Runtime('python3.7', RuntimeFamily.Python, { supportsInlineCode: true }); public static readonly Java8 = new Runtime('java8', RuntimeFamily.Java); public static readonly DotNetCore1 = new Runtime('dotnetcore1.0', RuntimeFamily.DotNetCore); public static readonly DotNetCore2 = new Runtime('dotnetcore2.0', RuntimeFamily.DotNetCore);