aws-cdk-lib.aws_backup.CfnBackupPlan.LifecycleResourceTypeProperty

interface LifecycleResourceTypeProperty

LanguageType name
.NETAmazon.CDK.AWS.Backup.CfnBackupPlan.LifecycleResourceTypeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbackup#CfnBackupPlan_LifecycleResourceTypeProperty
Javasoftware.amazon.awscdk.services.backup.CfnBackupPlan.LifecycleResourceTypeProperty
Pythonaws_cdk.aws_backup.CfnBackupPlan.LifecycleResourceTypeProperty
TypeScript 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,
};

Properties

NameTypeDescription
deleteAfterDays?numberSpecifies the number of days after creation that a recovery point is deleted.
moveToColdStorageAfterDays?numberSpecifies 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.