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
data CalculatedLifecycle Source #
Contains DeleteAt
and MoveToColdStorageAt
timestamps, which are used
to specify a lifecycle for a recovery point.
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, 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: newCalculatedLifecycle
smart constructor.
Instances
newCalculatedLifecycle :: CalculatedLifecycle Source #
Create a value of CalculatedLifecycle
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:deleteAt:CalculatedLifecycle'
, calculatedLifecycle_deleteAt
- A timestamp that specifies when to delete a recovery point.
$sel:moveToColdStorageAt:CalculatedLifecycle'
, calculatedLifecycle_moveToColdStorageAt
- A timestamp that specifies when to transition a recovery point to cold
storage.
calculatedLifecycle_deleteAt :: Lens' CalculatedLifecycle (Maybe UTCTime) Source #
A timestamp that specifies when to delete a recovery point.
calculatedLifecycle_moveToColdStorageAt :: Lens' CalculatedLifecycle (Maybe UTCTime) Source #
A timestamp that specifies when to transition a recovery point to cold storage.