- Newest
- Most votes
- Most comments
Hello Customer, In order to reproduce the same functionality as the AWS backup through the use of CDKs, you can utilize the S3.CfnBucket Construct to create S3 Cross Region Replication. This document can help you get started on it: https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_s3/CfnBucket.html#replicationconfigurationproperty
Hope this Helps!
Copy option is supported in CDK and CFN.
CDK:https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_backup-readme.html
Rules can also specify to copy recovery points to another Backup Vault using copyActions. Copied recovery points can optionally have moveToColdStorageAfter and deleteAfter configured.
declare const plan: backup.BackupPlan; declare const secondaryVault: backup.BackupVault; plan.addRule(new backup.BackupPlanRule({ copyActions: [{ destinationBackupVault: secondaryVault, moveToColdStorageAfter: Duration.days(30), deleteAfter: Duration.days(120), }] }));
For CFN:https://aws.amazon.com/premiumsupport/knowledge-center/aws-backup-cloudformation-template/
DestinationBackupVaultArn: arn:aws:backup:us-west-2:111222333444:backup-vault:Default Lifecycle: DeleteAfterDays: 14
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago