CloudWatch evaluates your metrics based on three key parameters:
Setting
Definition
Threshold
The metric limit that triggers the alarm (e.g., > 70% CPU).
Period
The duration for each datapoint aggregation (e.g., 5 minutes).
Evaluation Periods
Number of consecutive periods that must breach the threshold.
When an alarm has fewer datapoints than the specified evaluation periods (for example, at startup or during missing metrics), it transitions to INSUFFICIENT_DATA until it can fully evaluate the threshold.