@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.215Z") @Stability(value=Stable) public interface CfnBackupVaultProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.backup.*;
Object accessPolicy;
CfnBackupVaultProps cfnBackupVaultProps = CfnBackupVaultProps.builder()
.backupVaultName("backupVaultName")
// the properties below are optional
.accessPolicy(accessPolicy)
.backupVaultTags(Map.of(
"backupVaultTagsKey", "backupVaultTags"))
.encryptionKeyArn("encryptionKeyArn")
.lockConfiguration(LockConfigurationTypeProperty.builder()
.minRetentionDays(123)
// the properties below are optional
.changeableForDays(123)
.maxRetentionDays(123)
.build())
.notifications(NotificationObjectTypeProperty.builder()
.backupVaultEvents(List.of("backupVaultEvents"))
.snsTopicArn("snsTopicArn")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBackupVaultProps.Builder
A builder for
CfnBackupVaultProps |
static class |
CfnBackupVaultProps.Jsii$Proxy
An implementation for
CfnBackupVaultProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnBackupVaultProps.Builder |
builder() |
default Object |
getAccessPolicy()
`AWS::Backup::BackupVault.AccessPolicy`.
|
String |
getBackupVaultName()
`AWS::Backup::BackupVault.BackupVaultName`.
|
default Object |
getBackupVaultTags()
`AWS::Backup::BackupVault.BackupVaultTags`.
|
default String |
getEncryptionKeyArn()
`AWS::Backup::BackupVault.EncryptionKeyArn`.
|
default Object |
getLockConfiguration()
`AWS::Backup::BackupVault.LockConfiguration`.
|
default Object |
getNotifications()
`AWS::Backup::BackupVault.Notifications`.
|
@Stability(value=Stable) @Nullable default Object getAccessPolicy()
@Stability(value=Stable) @NotNull String getBackupVaultName()
@Stability(value=Stable) @Nullable default Object getBackupVaultTags()
@Stability(value=Stable) @Nullable default String getEncryptionKeyArn()
@Stability(value=Stable) @Nullable default Object getLockConfiguration()
@Stability(value=Stable) @Nullable default Object getNotifications()
@Stability(value=Stable) static CfnBackupVaultProps.Builder builder()
CfnBackupVaultProps.Builder of CfnBackupVaultPropsCopyright © 2021. All rights reserved.