pub struct MaxAgeRule {
pub delete_source_from_s3: Option<bool>,
pub enabled: bool,
pub max_age_in_days: Option<i64>,
}
Expand description
A lifecycle rule that deletes application versions after the specified number of days.
Fields§
§delete_source_from_s3: Option<bool>
Set to true
to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
enabled: bool
Specify true
to apply the rule, or false
to disable it.
max_age_in_days: Option<i64>
Specify the number of days to retain an application versions.
Trait Implementations§
Source§impl Clone for MaxAgeRule
impl Clone for MaxAgeRule
Source§fn clone(&self) -> MaxAgeRule
fn clone(&self) -> MaxAgeRule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MaxAgeRule
impl Debug for MaxAgeRule
Source§impl Default for MaxAgeRule
impl Default for MaxAgeRule
Source§fn default() -> MaxAgeRule
fn default() -> MaxAgeRule
Returns the “default value” for a type. Read more
Source§impl PartialEq for MaxAgeRule
impl PartialEq for MaxAgeRule
impl StructuralPartialEq for MaxAgeRule
Auto Trait Implementations§
impl Freeze for MaxAgeRule
impl RefUnwindSafe for MaxAgeRule
impl Send for MaxAgeRule
impl Sync for MaxAgeRule
impl Unpin for MaxAgeRule
impl UnwindSafe for MaxAgeRule
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