@Stability(value=Experimental) @Internal public static final class BackupVaultProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BackupVaultProps
BackupVaultPropssoftware.amazon.jsii.JsiiObject.InitializationModeBackupVaultProps.Builder, BackupVaultProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(PolicyDocument accessPolicy,
String backupVaultName,
IKey encryptionKey,
List<? extends BackupVaultEvents> notificationEvents,
ITopic notificationTopic,
RemovalPolicy removalPolicy)
Constructor that initializes the object based on literal property values passed by the
BackupVaultProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
PolicyDocument |
getAccessPolicy()
(experimental) A resource-based policy that is used to manage access permissions on the backup vault.
|
String |
getBackupVaultName()
(experimental) The name of a logical container where backups are stored.
|
IKey |
getEncryptionKey()
(experimental) The server-side encryption key to use to protect your backups.
|
List<BackupVaultEvents> |
getNotificationEvents()
(experimental) The vault events to send.
|
ITopic |
getNotificationTopic()
(experimental) A SNS topic to send vault events to.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) The removal policy to apply to the vault.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(PolicyDocument accessPolicy, String backupVaultName, IKey encryptionKey, List<? extends BackupVaultEvents> notificationEvents, ITopic notificationTopic, RemovalPolicy removalPolicy)
BackupVaultProps.Builder.public final PolicyDocument getAccessPolicy()
BackupVaultPropsDefault: - access is not restricted
getAccessPolicy in interface BackupVaultPropspublic final String getBackupVaultName()
BackupVaultPropsBackup 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
getBackupVaultName in interface BackupVaultPropspublic final IKey getEncryptionKey()
BackupVaultPropsDefault: - an Amazon managed KMS key
getEncryptionKey in interface BackupVaultPropspublic final List<BackupVaultEvents> getNotificationEvents()
BackupVaultPropsDefault: - all vault events if `notificationTopic` is defined
getNotificationEvents in interface BackupVaultPropshttps://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.htmlpublic final ITopic getNotificationTopic()
BackupVaultPropsDefault: - no notifications
getNotificationTopic in interface BackupVaultPropshttps://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.htmlpublic final RemovalPolicy getRemovalPolicy()
BackupVaultPropsNote that removing a vault that contains recovery points will fail.
Default: RemovalPolicy.RETAIN
getRemovalPolicy in interface BackupVaultProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.