libZSservicesZSamazonka-backupZSamazonka-backup
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Backup.Types.CalculatedLifecycle

Description

 
Synopsis

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.

Constructors

CalculatedLifecycle' 

Fields

Instances

Instances details
Eq CalculatedLifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.CalculatedLifecycle

Read CalculatedLifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.CalculatedLifecycle

Show CalculatedLifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.CalculatedLifecycle

Generic CalculatedLifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.CalculatedLifecycle

Associated Types

type Rep CalculatedLifecycle :: Type -> Type #

NFData CalculatedLifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.CalculatedLifecycle

Methods

rnf :: CalculatedLifecycle -> () #

Hashable CalculatedLifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.CalculatedLifecycle

FromJSON CalculatedLifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.CalculatedLifecycle

type Rep CalculatedLifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.CalculatedLifecycle

type Rep CalculatedLifecycle = D1 ('MetaData "CalculatedLifecycle" "Amazonka.Backup.Types.CalculatedLifecycle" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "CalculatedLifecycle'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deleteAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "moveToColdStorageAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))

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.