pub struct Schedule {
pub pipeline_execution_start_condition: Option<String>,
pub schedule_expression: Option<String>,
}
Expand description
A schedule configures how often and when a pipeline will automatically create a new image.
Fields§
§pipeline_execution_start_condition: Option<String>
The condition configures when the pipeline should trigger a new image build. When the pipelineExecutionStartCondition
is set to EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, EC2 Image Builder will build a new image only when there are known changes pending. When it is set to EXPRESSION_MATCH_ONLY
, it will build a new image every time the CRON expression matches the current time.
schedule_expression: Option<String>
The expression determines how often EC2 Image Builder evaluates your pipelineExecutionStartCondition
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Schedule
impl<'de> Deserialize<'de> for Schedule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Schedule
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnwindSafe for Schedule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more