Skip to content

Commit

Permalink
feat(lambda): nodejs14.x runtime (#12861)
Browse files Browse the repository at this point in the history
Blog post: [Node.js 14.x runtime now available in AWS Lambda](https://aws.amazon.com/blogs/compute/node-js-14-x-runtime-now-available-in-aws-lambda/)
Developer Guide: [Node.js lambda runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
trivikr authored Feb 4, 2021
1 parent 77b9d39 commit 12c224a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/@aws-cdk/aws-lambda/lib/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ export class Runtime {
*/
public static readonly NODEJS_12_X = new Runtime('nodejs12.x', RuntimeFamily.NODEJS, { supportsInlineCode: true });

/**
* The NodeJS 14.x runtime (nodejs14.x)
*/
public static readonly NODEJS_14_X = new Runtime('nodejs14.x', RuntimeFamily.NODEJS, { supportsInlineCode: false });

/**
* The Python 2.7 runtime (python2.7)
*/
Expand Down

0 comments on commit 12c224a

Please sign in to comment.