interface CopyActionResourceTypeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Backup.CfnBackupPlan.CopyActionResourceTypeProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbackup#CfnBackupPlan_CopyActionResourceTypeProperty |
![]() | software.amazon.awscdk.services.backup.CfnBackupPlan.CopyActionResourceTypeProperty |
![]() | aws_cdk.aws_backup.CfnBackupPlan.CopyActionResourceTypeProperty |
![]() | 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,
optInToArchiveForSupportedResources: false,
},
};
Properties
Name | Type | Description |
---|---|---|
destination | string | An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. |
lifecycle? | IResolvable | Lifecycle | Defines 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
|
Lifecycle
(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.