Class CfnBackupVault.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnBackupVault.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupVault>
- Enclosing class:
- CfnBackupVault
@Stability(Stable)
public static final class CfnBackupVault.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupVault>
A fluent builder for
CfnBackupVault
.-
Method Summary
Modifier and TypeMethodDescriptionaccessPolicy
(Object accessPolicy) A resource-based policy that is used to manage access permissions on the target backup vault.backupVaultName
(String backupVaultName) The name of a logical container where backups are stored.backupVaultTags
(Map<String, String> backupVaultTags) Metadata that you can assign to help organize the resources that you create.backupVaultTags
(IResolvable backupVaultTags) Metadata that you can assign to help organize the resources that you create.build()
static CfnBackupVault.Builder
encryptionKeyArn
(String encryptionKeyArn) A server-side encryption key you can specify to encrypt your backups from services that support full AWS Backup management;lockConfiguration
(IResolvable lockConfiguration) Configuration for AWS Backup Vault Lock .lockConfiguration
(CfnBackupVault.LockConfigurationTypeProperty lockConfiguration) Configuration for AWS Backup Vault Lock .notifications
(IResolvable notifications) The SNS event notifications for the specified backup vault.notifications
(CfnBackupVault.NotificationObjectTypeProperty notifications) The SNS event notifications for the specified backup vault.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnBackupVault.Builder
.
-
backupVaultName
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. They consist of lowercase letters, numbers, and hyphens.
- Parameters:
backupVaultName
- The name of a logical container where backups are stored. This parameter is required.- Returns:
this
-
accessPolicy
A resource-based policy that is used to manage access permissions on the target backup vault.- Parameters:
accessPolicy
- A resource-based policy that is used to manage access permissions on the target backup vault. This parameter is required.- Returns:
this
-
backupVaultTags
Metadata that you can assign to help organize the resources that you create.Each tag is a key-value pair.
- Parameters:
backupVaultTags
- Metadata that you can assign to help organize the resources that you create. This parameter is required.- Returns:
this
-
backupVaultTags
@Stability(Stable) public CfnBackupVault.Builder backupVaultTags(Map<String, String> backupVaultTags) Metadata that you can assign to help organize the resources that you create.Each tag is a key-value pair.
- Parameters:
backupVaultTags
- Metadata that you can assign to help organize the resources that you create. This parameter is required.- Returns:
this
-
encryptionKeyArn
A server-side encryption key you can specify to encrypt your backups from services that support full AWS Backup management;for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. If you specify a key, you must specify its ARN, not its alias. If you do not specify a key, AWS Backup creates a KMS key for you by default.To learn which AWS Backup services support full AWS Backup management and how AWS Backup handles encryption for backups from services that do not yet support full AWS Backup , see Encryption for backups in AWS Backup
- Parameters:
encryptionKeyArn
- A server-side encryption key you can specify to encrypt your backups from services that support full AWS Backup management;. This parameter is required.- Returns:
this
-
lockConfiguration
Configuration for AWS Backup Vault Lock .- Parameters:
lockConfiguration
- Configuration for AWS Backup Vault Lock . This parameter is required.- Returns:
this
-
lockConfiguration
@Stability(Stable) public CfnBackupVault.Builder lockConfiguration(CfnBackupVault.LockConfigurationTypeProperty lockConfiguration) Configuration for AWS Backup Vault Lock .- Parameters:
lockConfiguration
- Configuration for AWS Backup Vault Lock . This parameter is required.- Returns:
this
-
notifications
The SNS event notifications for the specified backup vault.- Parameters:
notifications
- The SNS event notifications for the specified backup vault. This parameter is required.- Returns:
this
-
notifications
@Stability(Stable) public CfnBackupVault.Builder notifications(CfnBackupVault.NotificationObjectTypeProperty notifications) The SNS event notifications for the specified backup vault.- Parameters:
notifications
- The SNS event notifications for the specified backup vault. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBackupVault>
- Returns:
- a newly built instance of
CfnBackupVault
.
-