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.

Contains the schedule expression and time-range offsets that define when a scheduled query runs and what time range each execution covers.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatch.Model.ScheduleConfiguration

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

Syntax

C#
public class ScheduleConfiguration

The ScheduleConfiguration type exposes the following members

Constructors

NameDescription
Public Method ScheduleConfiguration()

Properties

NameTypeDescription
Public Property EndTimeOffset System.Nullable<System.Int64>

Gets and sets the property EndTimeOffset.

The offset, in seconds, before the scheduled execution time at which the query time range ends. Must be non-negative and less than StartTimeOffset. The default is 0.

Public Property ScheduleExpression System.String

Gets and sets the property ScheduleExpression.

The schedule expression that defines how often the underlying CloudWatch Logs scheduled query runs. Specify a rate() expression, for example rate(5 minutes).

Public Property StartTimeOffset System.Nullable<System.Int64>

Gets and sets the property StartTimeOffset.

The offset, in seconds, before the scheduled execution time at which the query time range begins. For example, an offset of 360 (6 minutes) on a query running at 12:05:00 starts the query time range at 11:59:00.

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