Feat: add support for group updates

This commit is contained in:
Stefan Reimer 2024-06-05 10:02:10 +00:00
parent c324ab03bb
commit 03a88e01b2

4
app.py
View File

@ -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: