The period must be a multiple of 60 seconds. Metrics Insights does not support
high-resolution data and aggregates it to one minute without failing, so a shorter
period would deploy and silently evaluate something other than what was configured.
Period x evaluation periods must not exceed 3 hours. PutMetricAlarm rejects a
longer window ("MetricsInsights monitors cannot be checked across more than 3
hours"), which would otherwise only surface during deployment.
Validates the period and evaluation window of an alarm on a Metrics Insights query.
Two constraints beyond validateAlarmPeriodSeconds:
PutMetricAlarmrejects a longer window ("MetricsInsights monitors cannot be checked across more than 3 hours"), which would otherwise only surface during deployment.