Skip to content

/AWS1/CL_CWTSCHEDULECONF

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

CONSTRUCTOR

IMPORTING

Required arguments:

iv_scheduleexpression TYPE /AWS1/CWTSCHEDULEEXPRESSION /AWS1/CWTSCHEDULEEXPRESSION

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

Optional arguments:

iv_starttimeoffset TYPE /AWS1/CWTSTARTTIMEOFFSET /AWS1/CWTSTARTTIMEOFFSET

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.

iv_endtimeoffset TYPE /AWS1/CWTENDTIMEOFFSET /AWS1/CWTENDTIMEOFFSET

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.


Queryable Attributes

ScheduleExpression

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

Accessible with the following methods

Method Description
GET_SCHEDULEEXPRESSION() Getter for SCHEDULEEXPRESSION, with configurable default
ASK_SCHEDULEEXPRESSION() Getter for SCHEDULEEXPRESSION w/ exceptions if field has no
HAS_SCHEDULEEXPRESSION() Determine if SCHEDULEEXPRESSION has a value

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.

Accessible with the following methods

Method Description
GET_STARTTIMEOFFSET() Getter for STARTTIMEOFFSET, with configurable default
ASK_STARTTIMEOFFSET() Getter for STARTTIMEOFFSET w/ exceptions if field has no val
HAS_STARTTIMEOFFSET() Determine if STARTTIMEOFFSET has a value

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.

Accessible with the following methods

Method Description
GET_ENDTIMEOFFSET() Getter for ENDTIMEOFFSET, with configurable default
ASK_ENDTIMEOFFSET() Getter for ENDTIMEOFFSET w/ exceptions if field has no value
HAS_ENDTIMEOFFSET() Determine if ENDTIMEOFFSET has a value