Skip to content

Commit 8c733ef

Browse files
leepaElad Ben-Israel
authored andcommitted
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.
1 parent 538fe3f commit 8c733ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export class Runtime {
2828
public static readonly NodeJS810 = new Runtime('nodejs8.10', RuntimeFamily.NodeJS, { supportsInlineCode: true });
2929
public static readonly Python27 = new Runtime('python2.7', RuntimeFamily.Python, { supportsInlineCode: true });
3030
public static readonly Python36 = new Runtime('python3.6', RuntimeFamily.Python, { supportsInlineCode: true });
31+
public static readonly Python37 = new Runtime('python3.7', RuntimeFamily.Python, { supportsInlineCode: true });
3132
public static readonly Java8 = new Runtime('java8', RuntimeFamily.Java);
3233
public static readonly DotNetCore1 = new Runtime('dotnetcore1.0', RuntimeFamily.DotNetCore);
3334
public static readonly DotNetCore2 = new Runtime('dotnetcore2.0', RuntimeFamily.DotNetCore);

0 commit comments

Comments
 (0)