Skip to content

ScheduleConfiguration

Source code in docs_src/capo_cloudwatch/types/schedule_configuration.py
class ScheduleConfiguration(TypedDict, closed=True):
    schedule_expression: NotRequired[
        "capo_cloudwatch.types.schedule_expression.ScheduleExpression"
    ]
    """<p>The schedule expression that defines how often the underlying CloudWatch Logs scheduled query runs. Specify a <code>rate()</code> expression, for example <code>rate(5 minutes)</code>.</p>"""
    start_time_offset: NotRequired[
        "capo_cloudwatch.types.start_time_offset.StartTimeOffset"
    ]
    """<p>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.</p>"""
    end_time_offset: NotRequired["capo_cloudwatch.types.end_time_offset.EndTimeOffset"]
    """<p>The offset, in seconds, before the scheduled execution time at which the query time range ends. Must be non-negative and less than <code>StartTimeOffset</code>. The default is 0.</p>"""

end_time_offset instance-attribute

end_time_offset: NotRequired[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.

schedule_expression instance-attribute

schedule_expression: NotRequired[ScheduleExpression]

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

start_time_offset instance-attribute

start_time_offset: NotRequired[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.