Struct aws_sdk_backup::model::Lifecycle
source · [−]#[non_exhaustive]pub struct Lifecycle {
pub move_to_cold_storage_after_days: Option<i64>,
pub delete_after_days: Option<i64>,
}
Expand description
Contains an array of Transition
objects specifying how long in days before a recovery point transitions to cold storage or is deleted.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, on the console, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Only Amazon EFS file system backups can be transitioned to cold storage.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.move_to_cold_storage_after_days: Option<i64>
Specifies the number of days after creation that a recovery point is moved to cold storage.
delete_after_days: Option<i64>
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays
.
Implementations
Specifies the number of days after creation that a recovery point is moved to cold storage.
Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Lifecycle
impl UnwindSafe for Lifecycle
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more