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.Lifecycle

Description

 
Synopsis

Documentation

data Lifecycle Source #

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.

Constructors

Lifecycle' 

Fields

Instances

Instances details
Eq Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

Read Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

Show Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

Generic Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

Associated Types

type Rep Lifecycle :: Type -> Type #

NFData Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

Methods

rnf :: Lifecycle -> () #

Hashable Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

ToJSON Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

FromJSON Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

type Rep Lifecycle Source # 
Instance details

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.

lifecycle_moveToColdStorageAfterDays :: Lens' Lifecycle (Maybe Integer) Source #

Specifies the number of days after creation that a recovery point is moved to cold storage.

lifecycle_deleteAfterDays :: Lens' Lifecycle (Maybe Integer) Source #

Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.