A backup vault.
import { BackupVault } from 'aws-cdk-lib/aws-backup';Or use the module namespace:
import * as backup from 'aws-cdk-lib/aws-backup';
// backup.BackupVaultConfiguration passed to the constructor as BackupVaultProps.
accessPolicyOptionalPolicyDocumentA resource-based policy that is used to manage access permissions on the backup vault.
Default: - access is not restricted
backupVaultNameOptionalstringThe name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created.
Default: - A CDK generated name
blockRecoveryPointDeletionOptionalbooleanWhether to add statements to the vault access policy that prevents anyone from deleting a recovery point.
Default: false
encryptionKeyOptionalIKeyRefThe server-side encryption key to use to protect your backups.
Default: - an Amazon managed KMS key
lockConfigurationOptionalLockConfigurationConfiguration for AWS Backup Vault Lock.
Default: - AWS Backup Vault Lock is disabled
notificationEventsOptionalBackupVaultEvents[]The vault events to send.
Default: - all vault events if `notificationTopic` is defined
notificationTopicOptionalITopicA SNS topic to send vault events to.
Default: - no notifications
removalPolicyOptionalRemovalPolicyThe removal policy to apply to the vault. Note that removing a vault that contains recovery points will fail.
Default: RemovalPolicy.RETAIN
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-backup