libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2
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.CloudHSMV2.Types.BackupRetentionPolicy

Description

 
Synopsis

Documentation

data BackupRetentionPolicy Source #

A policy that defines the number of days to retain backups.

See: newBackupRetentionPolicy smart constructor.

Constructors

BackupRetentionPolicy' 

Fields

Instances

Instances details
Eq BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

Read BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

Show BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

Generic BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

Associated Types

type Rep BackupRetentionPolicy :: Type -> Type #

NFData BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

Methods

rnf :: BackupRetentionPolicy -> () #

Hashable BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

ToJSON BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

FromJSON BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

type Rep BackupRetentionPolicy Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.BackupRetentionPolicy

type Rep BackupRetentionPolicy = D1 ('MetaData "BackupRetentionPolicy" "Amazonka.CloudHSMV2.Types.BackupRetentionPolicy" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'False) (C1 ('MetaCons "BackupRetentionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupRetentionType))))

newBackupRetentionPolicy :: BackupRetentionPolicy Source #

Create a value of BackupRetentionPolicy 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:value:BackupRetentionPolicy', backupRetentionPolicy_value - Use a value between 7 - 379.

$sel:type':BackupRetentionPolicy', backupRetentionPolicy_type - The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.

backupRetentionPolicy_type :: Lens' BackupRetentionPolicy (Maybe BackupRetentionType) Source #

The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups.