AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The evaluation window that an alarm uses to select the range of metric data that it evaluates each time it runs. This is a union type. Set exactly one of its members, SlidingWindow or WallClockWindow. If you don't set EvaluationWindow, the alarm uses a SlidingWindow by default.

For more information, see Alarm evaluation windows in the CloudWatch User Guide.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatch.Model.EvaluationWindow

Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z

Syntax

C#
public class EvaluationWindow

The EvaluationWindow type exposes the following members

Constructors

NameDescription
Public Method EvaluationWindow()

Properties

NameTypeDescription
Public Property SlidingWindow Amazon.CloudWatch.Model.SlidingWindow

Gets and sets the property SlidingWindow.

A sliding window, which advances each time the alarm is evaluated, forming a rolling time window. This is the default evaluation window.

Public Property WallClockWindow Amazon.CloudWatch.Model.WallClockWindow

Gets and sets the property WallClockWindow.

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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer