Class CfnLogicallyAirGappedBackupVault
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.backup.CfnLogicallyAirGappedBackupVault
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:24:53.963Z")
@Stability(Stable)
public class CfnLogicallyAirGappedBackupVault
extends CfnResource
implements IInspectable, ITaggableV2
Creates a logical container to where backups may be copied.
This request includes a name, the Region, the maximum number of retention days, the minimum number of retention days, and optionally can include tags and a creator request ID.
Do not include sensitive data, such as passport numbers, in the name of a backup vault.
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; CfnLogicallyAirGappedBackupVault cfnLogicallyAirGappedBackupVault = CfnLogicallyAirGappedBackupVault.Builder.create(this, "MyCfnLogicallyAirGappedBackupVault") .backupVaultName("backupVaultName") .maxRetentionDays(123) .minRetentionDays(123) // the properties below are optional .accessPolicy(accessPolicy) .backupVaultTags(Map.of( "backupVaultTagsKey", "backupVaultTags")) .notifications(NotificationObjectTypeProperty.builder() .backupVaultEvents(List.of("backupVaultEvents")) .snsTopicArn("snsTopicArn") .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A fluent builder forCfnLogicallyAirGappedBackupVault
.static interface
Example:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnLogicallyAirGappedBackupVault
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnLogicallyAirGappedBackupVault
(software.amazon.jsii.JsiiObjectRef objRef) CfnLogicallyAirGappedBackupVault
(software.constructs.Construct scope, String id, CfnLogicallyAirGappedBackupVaultProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe backup vault access policy document in JSON format.The name of a logical container where backups are stored.The tags to assign to the vault.Tag Manager which manages the tags for this resource.The maximum retention period that the vault retains its recovery points.This setting specifies the minimum retention period that the vault retains its recovery points.Returns event notifications for the specified backup vault.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAccessPolicy
(Object value) The backup vault access policy document in JSON format.void
setBackupVaultName
(String value) The name of a logical container where backups are stored.void
setBackupVaultTags
(Map<String, String> value) The tags to assign to the vault.void
setMaxRetentionDays
(Number value) The maximum retention period that the vault retains its recovery points.void
setMinRetentionDays
(Number value) This setting specifies the minimum retention period that the vault retains its recovery points.void
setNotifications
(IResolvable value) Returns event notifications for the specified backup vault.void
Returns event notifications for the specified backup vault.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnLogicallyAirGappedBackupVault
protected CfnLogicallyAirGappedBackupVault(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLogicallyAirGappedBackupVault
protected CfnLogicallyAirGappedBackupVault(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLogicallyAirGappedBackupVault
@Stability(Stable) public CfnLogicallyAirGappedBackupVault(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLogicallyAirGappedBackupVaultProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrBackupVaultArn
-
getAttrEncryptionKeyArn
-
getAttrVaultState
-
getAttrVaultType
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getBackupVaultName
The name of a logical container where backups are stored. -
setBackupVaultName
The name of a logical container where backups are stored. -
getMaxRetentionDays
The maximum retention period that the vault retains its recovery points. -
setMaxRetentionDays
The maximum retention period that the vault retains its recovery points. -
getMinRetentionDays
This setting specifies the minimum retention period that the vault retains its recovery points. -
setMinRetentionDays
This setting specifies the minimum retention period that the vault retains its recovery points. -
getAccessPolicy
The backup vault access policy document in JSON format. -
setAccessPolicy
The backup vault access policy document in JSON format. -
getBackupVaultTags
The tags to assign to the vault. -
setBackupVaultTags
The tags to assign to the vault. -
getNotifications
Returns event notifications for the specified backup vault. -
setNotifications
Returns event notifications for the specified backup vault. -
setNotifications
@Stability(Stable) public void setNotifications(@Nullable CfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty value) Returns event notifications for the specified backup vault.
-