@@ -66,11 +66,11 @@ Resources:
6666 TreatMissingData : notBreaching
6767 ActionsEnabled : !Ref EnableAlerts
6868 AlarmActions :
69- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
69+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
7070 InsufficientDataActions :
71- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
71+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
7272 OKActions :
73- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
73+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
7474
7575 GetStatusUpdatesUnhandledErrorsAlarm :
7676 Type : AWS::CloudWatch::Alarm
@@ -91,11 +91,11 @@ Resources:
9191 TreatMissingData : notBreaching
9292 ActionsEnabled : !Ref EnableAlerts
9393 AlarmActions :
94- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
94+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
9595 InsufficientDataActions :
96- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
96+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
9797 OKActions :
98- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
98+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
9999
100100 PrescriptionStatusUpdateErrorsLogsMetricFilter :
101101 Type : AWS::Logs::MetricFilter
@@ -172,11 +172,11 @@ Resources:
172172 TreatMissingData : notBreaching
173173 ActionsEnabled : !Ref EnableAlerts
174174 AlarmActions :
175- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
175+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
176176 InsufficientDataActions :
177- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
177+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
178178 OKActions :
179- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
179+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
180180
181181 PrescriptionStatusUpdateUnhandledErrorsAlarm :
182182 Type : AWS::CloudWatch::Alarm
@@ -197,11 +197,11 @@ Resources:
197197 TreatMissingData : notBreaching
198198 ActionsEnabled : !Ref EnableAlerts
199199 AlarmActions :
200- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
200+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
201201 InsufficientDataActions :
202- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
202+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
203203 OKActions :
204- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
204+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
205205
206206 DynamoDBSystemErrorsAlarm :
207207 Type : AWS::CloudWatch::Alarm
@@ -222,11 +222,11 @@ Resources:
222222 TreatMissingData : notBreaching
223223 ActionsEnabled : !Ref EnableAlerts
224224 AlarmActions :
225- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
225+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
226226 InsufficientDataActions :
227- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
227+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
228228 OKActions :
229- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
229+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
230230
231231 DynamoDBWriteConsumptionAlarm :
232232 Type : AWS::CloudWatch::Alarm
@@ -235,11 +235,11 @@ Resources:
235235 AlarmName : !Sub "${AWS::StackName}_DynamoDB_ConsumedWriteCapacity"
236236 ActionsEnabled : !Ref EnableAlerts
237237 AlarmActions :
238- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
238+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
239239 InsufficientDataActions :
240- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
240+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
241241 OKActions :
242- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
242+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
243243 EvaluationPeriods : 1
244244 Threshold : !Ref DynamoDBUtilizationPercentageThreshold
245245 ComparisonOperator : GreaterThanOrEqualToThreshold
@@ -307,11 +307,11 @@ Resources:
307307 TreatMissingData : notBreaching
308308 ActionsEnabled : !Ref EnableAlerts
309309 AlarmActions :
310- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
310+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
311311 InsufficientDataActions :
312- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
312+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
313313 OKActions :
314- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
314+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
315315
316316 NotifyProcessorTimeoutsMetricFilter :
317317 Type : AWS::Logs::MetricFilter
@@ -344,11 +344,11 @@ Resources:
344344 TreatMissingData : notBreaching
345345 ActionsEnabled : !Ref EnableAlerts
346346 AlarmActions :
347- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
347+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
348348 InsufficientDataActions :
349- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
349+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
350350 OKActions :
351- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
351+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
352352
353353 NHSNotifyPrescriptionsDeadLetterQueueMessagesAlarm :
354354 Type : AWS::CloudWatch::Alarm
@@ -370,8 +370,8 @@ Resources:
370370 TreatMissingData : notBreaching
371371 ActionsEnabled : !Ref EnableAlerts
372372 AlarmActions :
373- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
373+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
374374 InsufficientDataActions :
375- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
375+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
376376 OKActions :
377- - !ImportValue lambda -resources: SlackAlertsSnsTopicArn
377+ - !ImportValue account -resources-cdk-uk:SNS: SlackAlertsSnsTopicArn:Arn
0 commit comments