interface LifecycleResourceTypeProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Backup.CfnBackupPlan.LifecycleResourceTypeProperty |
Java | software.amazon.awscdk.services.backup.CfnBackupPlan.LifecycleResourceTypeProperty |
Python | aws_cdk.aws_backup.CfnBackupPlan.LifecycleResourceTypeProperty |
TypeScript | @aws-cdk/aws-backup » CfnBackupPlan » LifecycleResourceTypeProperty |
Specifies an object containing an array of Transition
objects that determine how long in days before a recovery point transitions to cold storage or is deleted.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as backup from '@aws-cdk/aws-backup';
const lifecycleResourceTypeProperty: backup.CfnBackupPlan.LifecycleResourceTypeProperty = {
deleteAfterDays: 123,
moveToColdStorageAfterDays: 123,
};
Properties
Name | Type | Description |
---|---|---|
delete | number | Specifies the number of days after creation that a recovery point is deleted. |
move | number | Specifies the number of days after creation that a recovery point is moved to cold storage. |
deleteAfterDays?
Type:
number
(optional)
Specifies the number of days after creation that a recovery point is deleted.
Must be greater than MoveToColdStorageAfterDays
.
moveToColdStorageAfterDays?
Type:
number
(optional)
Specifies the number of days after creation that a recovery point is moved to cold storage.