Make sure if the alarm state is IN_ALARM for multiple consecutive data points, the lambda is still only triggered once:
Consider limiting the eventBridge event pattern to only raise an alarm if the previous state was "OK"
Would test by running expensive query on a frequent enough timer and make sure lambda is called only once
Make sure if the alarm state is IN_ALARM for multiple consecutive data points, the lambda is still only triggered once:
Consider limiting the eventBridge event pattern to only raise an alarm if the previous state was "OK"
Would test by running expensive query on a frequent enough timer and make sure lambda is called only once