pub struct MaxCountRule {
pub delete_source_from_s3: Option<bool>,
pub enabled: bool,
pub max_count: Option<i64>,
}
Expand description
A lifecycle rule that deletes the oldest application version when the maximum count is exceeded.
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_count: Option<i64>
Specify the maximum number of application versions to retain.
Trait Implementations§
Source§impl Clone for MaxCountRule
impl Clone for MaxCountRule
Source§fn clone(&self) -> MaxCountRule
fn clone(&self) -> MaxCountRule
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 MaxCountRule
impl Debug for MaxCountRule
Source§impl Default for MaxCountRule
impl Default for MaxCountRule
Source§fn default() -> MaxCountRule
fn default() -> MaxCountRule
Returns the “default value” for a type. Read more
Source§impl PartialEq for MaxCountRule
impl PartialEq for MaxCountRule
impl StructuralPartialEq for MaxCountRule
Auto Trait Implementations§
impl Freeze for MaxCountRule
impl RefUnwindSafe for MaxCountRule
impl Send for MaxCountRule
impl Sync for MaxCountRule
impl Unpin for MaxCountRule
impl UnwindSafe for MaxCountRule
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