From 03a88e01b2e24264854384ef022e6ca170abc119 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Wed, 5 Jun 2024 10:02:10 +0000 Subject: [PATCH] Feat: add support for group updates --- app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.py b/app.py index 9bcc18d..bb06459 100644 --- a/app.py +++ b/app.py @@ -266,6 +266,10 @@ def handler(event, context): title = "ElastiCache update available" body = "for node {}".format(msg["ElastiCache:ServiceUpdateAvailableForNode"]) + elif "ElastiCache:ServiceUpdateAvailable" in msg: + title = "ElastiCache update available" + body = "for Group {}".format(msg["ElastiCache:ServiceUpdateAvailable"]) + # known RDS events elif "Event Source" in msg and msg['Event Source'] in ["db-instance", "db-cluster-snapshot", "db-snapshot"]: try: