Cron

data class Cron(val value: CronSchedule) : ScheduleSpec

Runs on an EventBridge cron or rate cadence

Constructors

Link copied to clipboard
constructor(value: CronSchedule)

Properties

Link copied to clipboard

Inherited 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