@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.853Z") @Stability(value=Stable) public interface BackupVaultProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
BackupVaultProps.Builder
A builder for
BackupVaultProps |
static class |
BackupVaultProps.Jsii$Proxy
An implementation for
BackupVaultProps |
| Modifier and Type | Method and Description |
|---|---|
static BackupVaultProps.Builder |
builder() |
default PolicyDocument |
getAccessPolicy()
A resource-based policy that is used to manage access permissions on the backup vault.
|
default String |
getBackupVaultName()
The name of a logical container where backups are stored.
|
default Boolean |
getBlockRecoveryPointDeletion()
Whether to add statements to the vault access policy that prevents anyone from deleting a recovery point.
|
default IKey |
getEncryptionKey()
The server-side encryption key to use to protect your backups.
|
default LockConfiguration |
getLockConfiguration()
Configuration for AWS Backup Vault Lock.
|
default List<BackupVaultEvents> |
getNotificationEvents()
The vault events to send.
|
default ITopic |
getNotificationTopic()
A SNS topic to send vault events to.
|
default RemovalPolicy |
getRemovalPolicy()
The removal policy to apply to the vault.
|
@Stability(value=Stable) @Nullable default PolicyDocument getAccessPolicy()
Default: - access is not restricted
@Stability(value=Stable) @Nullable default String getBackupVaultName()
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
@Stability(value=Stable) @Nullable default Boolean getBlockRecoveryPointDeletion()
Default: false
@Stability(value=Stable) @Nullable default IKey getEncryptionKey()
Default: - an Amazon managed KMS key
@Stability(value=Stable) @Nullable default LockConfiguration getLockConfiguration()
Default: - AWS Backup Vault Lock is disabled
@Stability(value=Stable) @Nullable default List<BackupVaultEvents> getNotificationEvents()
Default: - all vault events if `notificationTopic` is defined
@Stability(value=Stable) @Nullable default ITopic getNotificationTopic()
Default: - no notifications
@Stability(value=Stable) @Nullable default RemovalPolicy getRemovalPolicy()
Note that removing a vault that contains recovery points will fail.
Default: RemovalPolicy.RETAIN
@Stability(value=Stable) static BackupVaultProps.Builder builder()
BackupVaultProps.Builder of BackupVaultPropsCopyright © 2022. All rights reserved.