DEV Community

Discussion on: Canary deployment of Lambdas using CDK Pipelines

Collapse
 
tariq121 profile image
tariq121

Great post. New Software Engineer here. For the deployment group configuration you created new alarms. Is it possible to use existing alarms instead?

Collapse
 
ryands17 profile image
Ryan Dsouza

I'm sure you can! Instead of creating a new alarm, you should be able to pass an existing alarm ARN.

Collapse
 
tariq121 profile image
tariq121 • Edited

static fromAlarmArn(scope: Construct, id: string, alarmArn: string): IAlarm;
Yes was able to add an existing alarm using this method
Thanks again