aws-cdk-lib.aws_backup.CfnBackupPlan.CopyActionResourceTypeProperty

interface CopyActionResourceTypeProperty

LanguageType name
.NETAmazon.CDK.AWS.Backup.CfnBackupPlan.CopyActionResourceTypeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbackup#CfnBackupPlan_CopyActionResourceTypeProperty
Javasoftware.amazon.awscdk.services.backup.CfnBackupPlan.CopyActionResourceTypeProperty
Pythonaws_cdk.aws_backup.CfnBackupPlan.CopyActionResourceTypeProperty
TypeScript aws-cdk-lib » aws_backup » CfnBackupPlan » CopyActionResourceTypeProperty

Copies backups created by a backup rule to another vault.

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 copyActionResourceTypeProperty: backup.CfnBackupPlan.CopyActionResourceTypeProperty = {
  destinationBackupVaultArn: 'destinationBackupVaultArn',

  // the properties below are optional
  lifecycle: {
    deleteAfterDays: 123,
    moveToColdStorageAfterDays: 123,
  },
};

Properties

NameTypeDescription
destinationBackupVaultArnstringAn Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
lifecycle?IResolvable | LifecycleResourceTypePropertyDefines when a protected resource is transitioned to cold storage and when it expires.

destinationBackupVaultArn

Type: string

An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.

For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.


lifecycle?

Type: IResolvable | LifecycleResourceTypeProperty (optional)

Defines when a protected resource is transitioned to cold storage and when it expires.

AWS Backup transitions and expires backups automatically according to the lifecycle that you define. If you do not specify a lifecycle, AWS Backup applies the lifecycle policy of the source backup to the destination backup.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.