ImagePipelineSchedule

data class ImagePipelineSchedule(val pipelineExecutionStartCondition: String? = null, val scheduleExpression: String, val timezone: String? = null)

Constructors

Link copied to clipboard
constructor(pipelineExecutionStartCondition: String? = null, scheduleExpression: String, timezone: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Condition when the pipeline should trigger a new image build. Valid values are EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE and EXPRESSION_MATCH_ONLY. Defaults to EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE.

Link copied to clipboard

Cron expression of how often the pipeline start condition is evaluated. For example, cron(0 0 * * ? *) is evaluated every day at midnight UTC. Configurations using the five field syntax that was previously accepted by the API, such as cron(0 0 * * *), must be updated to the six field syntax. For more information, see the Image Builder User Guide. The following arguments are optional:

Link copied to clipboard
val timezone: String? = null

The timezone that applies to the scheduling expression. For example, "Etc/UTC", "America/Los_Angeles" in the IANA timezone format. If not specified this defaults to UTC.