Struct rusoto_elasticbeanstalk::MaxCountRule [−][src]
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
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MaxCountRule
impl Send for MaxCountRule
impl Sync for MaxCountRule
impl Unpin for MaxCountRule
impl UnwindSafe for MaxCountRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self