Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
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.
See: newLifecycle
smart constructor.
Lifecycle' | |
|
Instances
Eq Lifecycle Source # | |
Read Lifecycle Source # | |
Show Lifecycle Source # | |
Generic Lifecycle Source # | |
NFData Lifecycle Source # | |
Defined in Amazonka.Backup.Types.Lifecycle | |
Hashable Lifecycle Source # | |
Defined in Amazonka.Backup.Types.Lifecycle | |
ToJSON Lifecycle Source # | |
Defined in Amazonka.Backup.Types.Lifecycle | |
FromJSON Lifecycle Source # | |
type Rep Lifecycle Source # | |
Defined in Amazonka.Backup.Types.Lifecycle type Rep Lifecycle = D1 ('MetaData "Lifecycle" "Amazonka.Backup.Types.Lifecycle" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "Lifecycle'" 'PrefixI 'True) (S1 ('MetaSel ('Just "moveToColdStorageAfterDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "deleteAfterDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) |
newLifecycle :: Lifecycle Source #
Create a value of Lifecycle
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:moveToColdStorageAfterDays:Lifecycle'
, lifecycle_moveToColdStorageAfterDays
- Specifies the number of days after creation that a recovery point is
moved to cold storage.
$sel:deleteAfterDays:Lifecycle'
, lifecycle_deleteAfterDays
- Specifies the number of days after creation that a recovery point is
deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays
.