Alarm / Attribute / evaluation_window
evaluation_window¶
- CloudWatch.Alarm.evaluation_window¶
(dict) –
The evaluation window that the alarm uses to select the range of metric data that it evaluates. This is either a sliding window or a wall clock window. For more information, see Alarm evaluation windows in the CloudWatch User Guide.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
WallClockWindow,SlidingWindow. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
WallClockWindow (dict) –
A wall clock window, which aligns the evaluated range to fixed clock boundaries that match the alarm’s period, such as the top of the hour, midnight, or the start of the calendar week.
Timezone (string) –
The time zone to use when the alarm aligns the evaluation window to clock boundaries. You can specify an IANA time zone name (for example,
America/New_York), a fixed UTC offset (for example,+05:30), or an offset-prefixed identifier (for example,UTC+05:30). The offset must be aligned to a multiple of 5 minutes. If you don’t specify a time zone, CloudWatch usesUTC.The time zone affects window alignment for all periods, including periods of one hour or shorter.
SlidingWindow (dict) –
A sliding window, which advances each time the alarm is evaluated, forming a rolling time window. This is the default evaluation window.