Oh think I figured it out simply with ``` // SNS t...
# general
l
Oh think I figured it out simply with
Copy code
// SNS topic and subscription to Lambda
let sns = new aws.sns.Topic("CW_ALARM_PULUMI");
let topicSubscription = new aws.sns.TopicEventSubscription("eventsub", sns, lambda, {});
l
@loud-computer-30956 You can do this even more easily:
sns.onEvent("eventsub", lambda)
😁 1
l
super late reply but thank you @lemon-spoon-91807 !
l
you're welcome!