feat: add cachenodereplacecomplete
All checks were successful
ZeroDownTime/sns-alert-hub/pipeline/head This commit looks good

This commit is contained in:
Stefan Reimer 2024-11-13 12:06:20 +00:00
parent 3d111c8791
commit 0a10a50365

4
app.py
View File

@ -256,6 +256,10 @@ def handler(event, context):
title = "ElastiCache fail over stareted"
body = "for node {}".format(msg["ElastiCache:CacheNodeReplaceStarted"])
elif "ElastiCache:CacheNodeReplaceComplete" in msg:
title = "ElastiCache fail over completed"
body = "for node {}".format(msg["ElastiCache:CacheNodeReplaceComplete"])
# ElasticCache replacement notifications
elif "ElastiCache:FailoverComplete" in msg:
title = "ElastiCache fail over complete"