| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudHSMV2.Types.BackupRetentionPolicy
Description
Documentation
data BackupRetentionPolicy Source #
A policy that defines the number of days to retain backups.
See: newBackupRetentionPolicy smart constructor.
Constructors
| BackupRetentionPolicy' | |
Instances
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:type':BackupRetentionPolicy', backupRetentionPolicy_type - The type of backup retention policy. For the DAYS type, the value is
the number of days to retain backups.
$sel:value:BackupRetentionPolicy', backupRetentionPolicy_value - Use a value between 7 - 379.
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.
backupRetentionPolicy_value :: Lens' BackupRetentionPolicy (Maybe Text) Source #
Use a value between 7 - 379.