Skip to content

Commit

Permalink
Lower CDK version to 2.77
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxdash committed Jul 9, 2024
1 parent 4a8c8c7 commit f130e07
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 54 deletions.
91 changes: 40 additions & 51 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"@types/aws-lambda": "^8.10.101",
"@types/node": "10.17.27",
"@types/prettier": "2.6.0",
"aws-cdk-lib": "2.138.0",
"aws-cdk-lib": "2.77.0",
"constructs": "^10.0.0",
"release-it": "^14.12.5",
"ts-node": "^10.7.0",
"typescript": "~3.9.7"
},
"peerDependencies": {
"aws-cdk": "^2.138.0",
"aws-cdk": "^2.77.0",
"constructs": "^10.0.0"
},
"repository": {
Expand Down
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_20_X,
runtime: lambda.Runtime.NODEJS_18_X,
memorySize: 512,
timeout: cdk.Duration.minutes(1),
logRetention: log.RetentionDays.ONE_DAY,
Expand Down

0 comments on commit f130e07

Please sign in to comment.