Feat: add support for group updates
This commit is contained in:
parent
c324ab03bb
commit
03a88e01b2
4
app.py
4
app.py
@ -266,6 +266,10 @@ def handler(event, context):
|
|||||||
title = "ElastiCache update available"
|
title = "ElastiCache update available"
|
||||||
body = "for node {}".format(msg["ElastiCache:ServiceUpdateAvailableForNode"])
|
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
|
# known RDS events
|
||||||
elif "Event Source" in msg and msg['Event Source'] in ["db-instance", "db-cluster-snapshot", "db-snapshot"]:
|
elif "Event Source" in msg and msg['Event Source'] in ["db-instance", "db-cluster-snapshot", "db-snapshot"]:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user