ScheduleSpec

sealed class ScheduleSpec

Structured schedule specification. Select exactly one schedule form.

Inheritors

Types

Link copied to clipboard
data class Cron(val value: CronSchedule) : ScheduleSpec

Runs on an EventBridge cron or rate cadence

Link copied to clipboard
Link copied to clipboard
data class TimeRange(val value: TimeRangeSchedule) : ScheduleSpec

Runs within a recurring time-of-day window

Functions

Link copied to clipboard

Casts this ScheduleSpec as a Cron and retrieves its aws.sdk.kotlin.services.devopsagent.model.CronSchedule value. Throws an exception if the ScheduleSpec is not a Cron.

Link copied to clipboard

Casts this ScheduleSpec as a Cron and retrieves its aws.sdk.kotlin.services.devopsagent.model.CronSchedule value. Returns null if the ScheduleSpec is not a Cron.

Link copied to clipboard

Casts this ScheduleSpec as a TimeRange and retrieves its aws.sdk.kotlin.services.devopsagent.model.TimeRangeSchedule value. Throws an exception if the ScheduleSpec is not a TimeRange.

Link copied to clipboard