interface LifecycleResourceTypeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Backup.CfnBackupPlan.LifecycleResourceTypeProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbackup#CfnBackupPlan_LifecycleResourceTypeProperty |
![]() | software.amazon.awscdk.services.backup.CfnBackupPlan.LifecycleResourceTypeProperty |
![]() | aws_cdk.aws_backup.CfnBackupPlan.LifecycleResourceTypeProperty |
![]() | aws-cdk-lib » 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 { aws_backup as backup } from 'aws-cdk-lib';
const lifecycleResourceTypeProperty: backup.CfnBackupPlan.LifecycleResourceTypeProperty = {
deleteAfterDays: 123,
moveToColdStorageAfterDays: 123,
optInToArchiveForSupportedResources: false,
};
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. |
opt | boolean | IResolvable | If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings. |
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.
optInToArchiveForSupportedResources?
Type:
boolean |
IResolvable
(optional)
If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings.