@Stability(value=Experimental) public static final class BackupVault.Builder extends Object implements software.amazon.jsii.Builder<BackupVault>
BackupVault.| Modifier and Type | Method and Description |
|---|---|
BackupVault.Builder |
accessPolicy(PolicyDocument accessPolicy)
(experimental) A resource-based policy that is used to manage access permissions on the backup vault.
|
BackupVault.Builder |
backupVaultName(String backupVaultName)
(experimental) The name of a logical container where backups are stored.
|
BackupVault |
build() |
static BackupVault.Builder |
create(software.constructs.Construct scope,
String id) |
BackupVault.Builder |
encryptionKey(IKey encryptionKey)
(experimental) The server-side encryption key to use to protect your backups.
|
BackupVault.Builder |
notificationEvents(List<? extends BackupVaultEvents> notificationEvents)
(experimental) The vault events to send.
|
BackupVault.Builder |
notificationTopic(ITopic notificationTopic)
(experimental) A SNS topic to send vault events to.
|
BackupVault.Builder |
removalPolicy(RemovalPolicy removalPolicy)
(experimental) The removal policy to apply to the vault.
|
@Stability(value=Experimental) public static BackupVault.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.BackupVault.Builder.@Stability(value=Experimental) public BackupVault.Builder accessPolicy(PolicyDocument accessPolicy)
Default: - access is not restricted
accessPolicy - A resource-based policy that is used to manage access permissions on the backup vault. This parameter is required.this@Stability(value=Experimental) public BackupVault.Builder backupVaultName(String backupVaultName)
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
backupVaultName - The name of a logical container where backups are stored. This parameter is required.this@Stability(value=Experimental) public BackupVault.Builder encryptionKey(IKey encryptionKey)
Default: - an Amazon managed KMS key
encryptionKey - The server-side encryption key to use to protect your backups. This parameter is required.this@Stability(value=Experimental) public BackupVault.Builder notificationEvents(List<? extends BackupVaultEvents> notificationEvents)
Default: - all vault events if `notificationTopic` is defined
notificationEvents - The vault events to send. This parameter is required.thishttps://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html@Stability(value=Experimental) public BackupVault.Builder notificationTopic(ITopic notificationTopic)
Default: - no notifications
notificationTopic - A SNS topic to send vault events to. This parameter is required.thishttps://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html@Stability(value=Experimental) public BackupVault.Builder removalPolicy(RemovalPolicy removalPolicy)
Note that removing a vault that contains recovery points will fail.
Default: RemovalPolicy.RETAIN
removalPolicy - The removal policy to apply to the vault. This parameter is required.this@Stability(value=Experimental) public BackupVault build()
build in interface software.amazon.jsii.Builder<BackupVault>Copyright © 2021. All rights reserved.