Validates an alarm's evaluation range, period x evaluation periods, against the limits PutMetricAlarm enforces at deploy: 1 day for a period under one hour, 7 days otherwise.
PutMetricAlarm
The period, in seconds, and the number of evaluation periods
Property names used in the error messages
Error if evaluationPeriods is invalid or the range exceeds the limit
Validates an alarm's evaluation range, period x evaluation periods, against the limits
PutMetricAlarmenforces at deploy: 1 day for a period under one hour, 7 days otherwise.