getlift / lift

Expanding Serverless Framework beyond functions using the AWS CDK
MIT License
912 stars 109 forks source link

Allow extension to sns topic created for the alarm #372

Open nacholupotti opened 7 months ago

nacholupotti commented 7 months ago

Start from the Use-case

The Serverless Lift plugin currently doesn't support modifications for the SNS topic associated with the alarm (correct me if I am wrong here). Its possible to make extensions to the alarm, but not to the SNS topic that the alarm property creates.

I would like to configure the SNS topic. In my use case, is to avoid the creation of the topic in certain environments.

Example Config

extensions: queue: Properties: QueueName: queueName1 dlq: Properties: QueueName: queueName2 alarm: topic: Topic cloudformation configuration here

Implementation Idea

No response