Skip to content

Commit 4206c39

Browse files
committed
feat(inbox): Queue depth lambda fully working!
1 parent 97b7113 commit 4206c39

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.projen/deps.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const name = 'cdk-lambda-eni-usage-metric-publisher';
44
const project = new clickupCdk.ClickUpCdkConstructLibrary({
55
author: 'Andrew Hammond',
66
authorAddress: 'ahammond@clickup.com',
7-
cdkVersion: '2.107.0',
7+
cdkVersion: '2.87.0',
88
defaultReleaseBranch: 'main',
99
devDeps: ['@types/aws-lambda', '@time-loop/clickup-projen', '@aws-cdk/integ-tests-alpha'],
1010
jsiiVersion: '~5.0.0',

src/construct.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Duration, Stack, aws_ec2 } from 'aws-cdk-lib';
22
import { PolicyStatement } from 'aws-cdk-lib/aws-iam';
33
import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs';
4-
import { Runtime } from 'aws-cdk-lib/aws-lambda';
4+
import { Architecture, Runtime } from 'aws-cdk-lib/aws-lambda';
55
import { Rule, Schedule } from 'aws-cdk-lib/aws-events';
66
import { LambdaFunction } from 'aws-cdk-lib/aws-events-targets';
77
import { RetentionDays } from 'aws-cdk-lib/aws-logs';
@@ -136,6 +136,7 @@ export class RedisQueueDepthMetricPublisher extends Construct {
136136
memorySize: 512,
137137
runtime: Runtime.NODEJS_18_X, // Should be at least node20, but let's be aggressive about this.
138138
timeout: Duration.seconds(45),
139+
architecture: Architecture.ARM_64,
139140
...(props.vpc ? { vpc: props.vpc } : {}),
140141
});
141142

0 commit comments

Comments
 (0)