I am trying to configure a simple cloudwatch 'number' widget that displays the total number of alarms currently in 'in-alarm' status ...and likewise another one that displays the total number of 'ok' alarms. (i will colour the widgets red and green accordingly) ...our OPs team need this very simple view as they arunning out of screen real estate to display much else
My question is, how can i get the widget to display this count of alarms? it seems widgets can only be based on metrics ...would i need to create a custom metric that somehow counts the alarms based on a query? (such as alarm status or a string match in the alarm name etc) ....is this even possible?...or would i have to have some type of lambda to a part of this?
Any guidance would be greatly appreciated thanks