'Alert/Notification when Target Group deregistesr instance on AWS

Is there a way to get an alert when an instance deregisters automatically from a target group? I occasionally will have an instance deregister due to being unhealthy.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source