Validates that an M-of-N alarm's datapoints-to-alarm does not exceed its evaluation periods, which PutMetricAlarm would otherwise reject during deployment.
PutMetricAlarm
The evaluation periods and the optional datapoints to alarm
Property names used in the error message
Error if evaluationPeriods is invalid, or datapointsToAlarm is not a whole number between 1 and evaluationPeriods
Validates that an M-of-N alarm's datapoints-to-alarm does not exceed its evaluation periods, which
PutMetricAlarmwould otherwise reject during deployment.