class Aws::Imagebuilder::Types::Schedule
A schedule configures how often and when a pipeline will automatically create a new image.
@note When making an API call, you may pass Schedule
data as a hash: { schedule_expression: "NonEmptyString", timezone: "Timezone", pipeline_execution_start_condition: "EXPRESSION_MATCH_ONLY", # accepts EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE }
@!attribute [rw] schedule_expression
The cron expression determines how often EC2 Image Builder evaluates your `pipelineExecutionStartCondition`. For information on how to format a cron expression in Image Builder, see [Use cron expressions in EC2 Image Builder][1]. [1]: https://docs.aws.amazon.com/imagebuilder/latest/userguide/image-builder-cron.html @return [String]
@!attribute [rw] timezone
The timezone that applies to the scheduling expression. For example, "Etc/UTC", "America/Los\_Angeles" in the [IANA timezone format][1]. If not specified this defaults to UTC. [1]: https://www.joda.org/joda-time/timezones.html @return [String]
@!attribute [rw] pipeline_execution_start_condition
The condition configures when the pipeline should trigger a new image build. When the `pipelineExecutionStartCondition` is set to `EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE`, and you use semantic version filters on the source image or components in your image recipe, EC2 Image Builder will build a new image only when there are new versions of the image or components in your recipe that match the semantic version filter. When it is set to `EXPRESSION_MATCH_ONLY`, it will build a new image every time the CRON expression matches the current time. For semantic version syntax, see [CreateComponent][1] in the <i> EC2 Image Builder API Reference</i>. [1]: https://docs.aws.amazon.com/imagebuilder/latest/APIReference/API_CreateComponent.html @return [String]
@see docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Schedule AWS API Documentation
Constants
- SENSITIVE