class Amazonite::CloudWatch::ScheduleConfiguration

Overview

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

Included Modules

Defined in:

cloudwatch/schedule_configuration.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(schedule_expression : String, start_time_offset : Int64, end_time_offset : Int64 | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def end_time_offset : Int64 | Nil #

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.


[View source]
def end_time_offset=(end_time_offset : Int64 | Nil) #

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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def schedule_expression : String #

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


[View source]
def schedule_expression=(schedule_expression : String) #

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


[View source]
def start_time_offset : Int64 #

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.


[View source]
def start_time_offset=(start_time_offset : Int64) #

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.


[View source]
def validate! : Nil #

[View source]