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:
IEnvironmentAware,IInspectable,ITaggableV2,ILogicallyAirGappedBackupVaultRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:35.072Z")
@Stability(Stable)
public class CfnLogicallyAirGappedBackupVault
extends CfnResource
implements IInspectable, ILogicallyAirGappedBackupVaultRef, 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 classA fluent builder forCfnLogicallyAirGappedBackupVault.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.backup.ILogicallyAirGappedBackupVaultRef
ILogicallyAirGappedBackupVaultRef.Jsii$Default, ILogicallyAirGappedBackupVaultRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnLogicallyAirGappedBackupVault(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLogicallyAirGappedBackupVault(software.amazon.jsii.JsiiObjectRef objRef) CfnLogicallyAirGappedBackupVault(software.constructs.Construct scope, String id, CfnLogicallyAirGappedBackupVaultProps props) -
Method Summary
Modifier and TypeMethodDescriptionfromBackupVaultName(software.constructs.Construct scope, String id, String backupVaultName) Creates a new ILogicallyAirGappedBackupVaultRef from a backupVaultName.The backup vault access policy document in JSON format.The ARN of the backup vault.The ARN of the server-side encryption key.The vault state.The vault type.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.A reference to a LogicallyAirGappedBackupVault 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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAccessPolicy(Object value) The backup vault access policy document in JSON format.voidsetBackupVaultName(String value) The name of a logical container where backups are stored.voidsetBackupVaultTags(Map<String, String> value) The tags to assign to the vault.voidsetMaxRetentionDays(Number value) The maximum retention period that the vault retains its recovery points.voidsetMinRetentionDays(Number value) This setting specifies the minimum retention period that the vault retains its recovery points.voidsetNotifications(IResolvable value) Returns event notifications for the specified backup vault.voidReturns 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, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods 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
-
fromBackupVaultName
@Stability(Stable) @NotNull public static ILogicallyAirGappedBackupVaultRef fromBackupVaultName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String backupVaultName) Creates a new ILogicallyAirGappedBackupVaultRef from a backupVaultName.- Parameters:
scope- This parameter is required.id- This parameter is required.backupVaultName- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrBackupVaultArn
The ARN of the backup vault. -
getAttrEncryptionKeyArn
The ARN of the server-side encryption key. -
getAttrVaultState
The vault state.The possible values are
CREATING,AVAILABLE, andFAILED. -
getAttrVaultType
The vault type.The possible values are
BACKUP_VAULTandLOGICALLY_AIR_GAPPED_BACKUP_VAULT. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getLogicallyAirGappedBackupVaultRef
@Stability(Stable) @NotNull public LogicallyAirGappedBackupVaultReference getLogicallyAirGappedBackupVaultRef()A reference to a LogicallyAirGappedBackupVault resource.- Specified by:
getLogicallyAirGappedBackupVaultRefin interfaceILogicallyAirGappedBackupVaultRef
-
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.Returns union: either
IResolvableorCfnLogicallyAirGappedBackupVault.NotificationObjectTypeProperty -
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.
-