Skip to content

Commit

Permalink
Update function nodejs version
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxdash committed Jul 9, 2024
1 parent 4c00d61 commit 1238a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class CloudWatchAlarmCreator extends Construct {
functionName: `${this.prefix}alarms-cr-function${this.postfix}`,
code: lambda.Code.fromAsset(path.join(__dirname, "functions")),
handler: "index.handler",
runtime: lambda.Runtime.NODEJS_14_X,
runtime: lambda.Runtime.NODEJS_20_X,
memorySize: 512,
timeout: cdk.Duration.minutes(1),
logRetention: log.RetentionDays.ONE_DAY,
Expand Down

0 comments on commit 1238a25

Please sign in to comment.