Interface BackupVaultProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BackupVaultProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:57.509Z")
@Stability(Stable)
public interface BackupVaultProps
extends software.amazon.jsii.JsiiSerializable
Properties for a BackupVault.
Example:
IKey myKey = Key.fromKeyArn(this, "MyKey", "aaa"); ITopic myTopic = Topic.fromTopicArn(this, "MyTopic", "bbb"); BackupVault vault = BackupVault.Builder.create(this, "Vault") .encryptionKey(myKey) // Custom encryption key .notificationTopic(myTopic) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forBackupVaultProps
static final class
An implementation forBackupVaultProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic BackupVaultProps.Builder
builder()
default PolicyDocument
A resource-based policy that is used to manage access permissions on the backup vault.default String
The name of a logical container where backups are stored.default Boolean
Whether to add statements to the vault access policy that prevents anyone from deleting a recovery point.default IKey
The server-side encryption key to use to protect your backups.default LockConfiguration
Configuration for AWS Backup Vault Lock.default List<BackupVaultEvents>
The vault events to send.default ITopic
A SNS topic to send vault events to.default RemovalPolicy
The removal policy to apply to the vault.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessPolicy
A resource-based policy that is used to manage access permissions on the backup vault.Default: - access is not restricted
-
getBackupVaultName
The 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
-
getBlockRecoveryPointDeletion
Whether to add statements to the vault access policy that prevents anyone from deleting a recovery point.Default: false
-
getEncryptionKey
The server-side encryption key to use to protect your backups.Default: - an Amazon managed KMS key
-
getLockConfiguration
Configuration for AWS Backup Vault Lock.Default: - AWS Backup Vault Lock is disabled
- See Also:
-
getNotificationEvents
The vault events to send.Default: - all vault events if `notificationTopic` is defined
- See Also:
-
getNotificationTopic
A SNS topic to send vault events to.Default: - no notifications
- See Also:
-
getRemovalPolicy
The removal policy to apply to the vault.Note that removing a vault that contains recovery points will fail.
Default: RemovalPolicy.RETAIN
-
builder
- Returns:
- a
BackupVaultProps.Builder
ofBackupVaultProps
-