amazonka-backup-2.0: Amazon Backup SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 “retention” 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.

Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.

See: newLifecycle smart constructor.

Constructors

Lifecycle' 

Fields

Instances

Instances details
FromJSON Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

ToJSON 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 #

Read Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

Show Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

NFData Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

Methods

rnf :: Lifecycle -> () #

Eq Lifecycle Source # 
Instance details

Defined in Amazonka.Backup.Types.Lifecycle

Hashable 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" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "Lifecycle'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deleteAfterDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "moveToColdStorageAfterDays") '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: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.

$sel:moveToColdStorageAfterDays:Lifecycle', lifecycle_moveToColdStorageAfterDays - 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.

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

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