Sree Divya - Tuesday, June 19, 2018 6:56 AM
This link has example alerts for always on - check the one for role change:
Configure SQL Server Alerts and Notifications for AlwaysOn Availability Groups
Don't forget that you likely want to setup a response for the alert (execute a job, send email, etc). You don't have to but likely you would want to.
Sue