Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
chore(lambda): update lambda runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
kschelonka committed Nov 17, 2023
1 parent a57bc39 commit c6b879b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/base/ApplicationVersionedLambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ import { Construct } from 'constructs';

export enum LAMBDA_RUNTIMES {
PYTHON38 = 'python3.8',
NODEJS12 = 'nodejs12.x',
PYTHON39 = 'python3.9',
PYTHON310 = 'python3.10',
PYTHON311 = 'python3.11',
NODEJS14 = 'nodejs14.x',
NODEJS16 = 'nodejs16.x',
NODEJS18 = 'nodejs18.x',
NODEJS20 = 'nodejs20.x',
}

export interface ApplicationVersionedLambdaProps
Expand Down Expand Up @@ -60,7 +64,7 @@ export class ApplicationVersionedLambda extends Construct {
constructor(
scope: Construct,
name: string,
private config: ApplicationVersionedLambdaProps,
private config: ApplicationVersionedLambdaProps

Check failure on line 67 in src/base/ApplicationVersionedLambda.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

Insert `,`
) {
super(scope, name);

Expand Down Expand Up @@ -206,7 +210,7 @@ export class ApplicationVersionedLambda extends Construct {
return new DataAwsIamPolicyDocument(
this,
'execution-policy-document',
document,
document

Check failure on line 213 in src/base/ApplicationVersionedLambda.ts

View workflow job for this annotation

GitHub Actions / Lint Code Base

Insert `,`
).json;
}

Expand Down

0 comments on commit c6b879b

Please sign in to comment.