Skip to content

Commit 0e30a1b

Browse files
committed
First pass at dual stack with gucdk pattern
1 parent c858e0c commit 0e30a1b

File tree

4 files changed

+2624
-235
lines changed

4 files changed

+2624
-235
lines changed

cdk/bin/cdk.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,30 @@ const app = new App();
1414
export const notificationCodeProps: NotificationProps = {
1515
stack: 'mobile-notifications',
1616
stage: 'CODE',
17+
env: { region: 'eu-west-1' },
18+
domainName: 'notification.notifications.code.dev-guardianapis.com',
19+
instanceMetricGranularity: '5Minute',
20+
workerSqsQueueName: 'mobile-notifications-harvester-CODE-Sqs-1R9TBA4F2C6TG',
21+
sloMonitoringQueueName: 'notifications-slo-monitoring-CODE',
22+
minAsgSize: 1,
23+
maxAsgSize: 2,
1724
};
1825

1926
export const notificationProdProps: NotificationProps = {
2027
stack: 'mobile-notifications',
2128
stage: 'PROD',
29+
env: { region: 'eu-west-1' },
30+
domainName: 'notification.notifications.guardianapis.com',
31+
instanceMetricGranularity: '1Minute',
32+
workerSqsQueueName: 'mobile-notifications-harvester-PROD-Sqs-NPP9X15G7WAO',
33+
sloMonitoringQueueName: 'notifications-slo-monitoring-PROD',
34+
minAsgSize: 3,
35+
maxAsgSize: 6,
2236
};
2337

2438
new Notification(app, 'Notification-CODE', notificationCodeProps);
2539
new Notification(app, 'Notification-PROD', notificationProdProps);
40+
2641
export const registrationCodeProps: RegistrationProps = {
2742
stack: 'mobile-notifications',
2843
stage: 'CODE',

0 commit comments

Comments
 (0)