From 0a10a50365fbb128260d0d20259b14093d1185dc Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Wed, 13 Nov 2024 12:06:20 +0000 Subject: [PATCH] feat: add cachenodereplacecomplete --- app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.py b/app.py index bb06459..197154f 100644 --- a/app.py +++ b/app.py @@ -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"