Class CfnClusterSnapshot
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.docdbelastic.CfnClusterSnapshot
- All Implemented Interfaces:
IInspectable,IClusterSnapshotRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:49.580Z")
@Stability(Stable)
public class CfnClusterSnapshot
extends CfnResource
implements IInspectable, IClusterSnapshotRef, ITaggableV2
Resource Type definition for AWS::DocDBElastic::ClusterSnapshot.
Creates a manual snapshot of an Amazon DocumentDB elastic cluster.
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.docdbelastic.*;
CfnClusterSnapshot cfnClusterSnapshot = CfnClusterSnapshot.Builder.create(this, "MyCfnClusterSnapshot")
.clusterArn("clusterArn")
.snapshotName("snapshotName")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.docdbelastic.IClusterSnapshotRef
IClusterSnapshotRef.Jsii$Default, IClusterSnapshotRef.Jsii$ProxyNested 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.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnClusterSnapshot(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnClusterSnapshot(software.amazon.jsii.JsiiObjectRef objRef) CfnClusterSnapshot(software.constructs.Construct scope, String id, CfnClusterSnapshotProps props) Create a newAWS::DocDBElastic::ClusterSnapshot. -
Method Summary
Modifier and TypeMethodDescriptionThe name of the elastic cluster administrator.The time when the source elastic cluster was created, in Universal Coordinated Time (UTC).The KMS key identifier used to encrypt the source elastic cluster.The Amazon Resource Name (ARN) of the elastic cluster snapshot.The time when the elastic cluster snapshot was created, in Universal Coordinated Time (UTC).The type of the elastic cluster snapshot (manual or automated).The status of the elastic cluster snapshot.The Amazon EC2 subnet IDs associated with the source elastic cluster.The Amazon EC2 security group IDs associated with the source elastic cluster.Tag Manager which manages the tags for this resource.The ARN of the elastic cluster of which to create a snapshot.A reference to a ClusterSnapshot resource.The name of the elastic cluster snapshot.getTags()An array of key-value pairs to apply to the elastic cluster snapshot.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnClusterSnapshot.renderProperties(Map<String, Object> props) voidsetClusterArn(String value) The ARN of the elastic cluster of which to create a snapshot.voidsetSnapshotName(String value) The name of the elastic cluster snapshot.voidAn array of key-value pairs to apply to the elastic cluster snapshot.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods 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
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.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
-
CfnClusterSnapshot
protected CfnClusterSnapshot(software.amazon.jsii.JsiiObjectRef objRef) -
CfnClusterSnapshot
protected CfnClusterSnapshot(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnClusterSnapshot
@Stability(Stable) public CfnClusterSnapshot(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnClusterSnapshotProps props) Create a newAWS::DocDBElastic::ClusterSnapshot.- 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
-
isCfnClusterSnapshot
Checks whether the given object is a CfnClusterSnapshot.- Parameters:
x- 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.
-
getAttrAdminUserName
The name of the elastic cluster administrator. -
getAttrClusterCreationTime
The time when the source elastic cluster was created, in Universal Coordinated Time (UTC). -
getAttrKmsKeyId
The KMS key identifier used to encrypt the source elastic cluster. -
getAttrSnapshotArn
The Amazon Resource Name (ARN) of the elastic cluster snapshot. -
getAttrSnapshotCreationTime
The time when the elastic cluster snapshot was created, in Universal Coordinated Time (UTC). -
getAttrSnapshotType
The type of the elastic cluster snapshot (manual or automated). -
getAttrStatus
The status of the elastic cluster snapshot. -
getAttrSubnetIds
The Amazon EC2 subnet IDs associated with the source elastic cluster. -
getAttrVpcSecurityGroupIds
The Amazon EC2 security group IDs associated with the source elastic cluster. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getClusterSnapshotRef
A reference to a ClusterSnapshot resource.- Specified by:
getClusterSnapshotRefin interfaceIClusterSnapshotRef
-
getClusterArn
The ARN of the elastic cluster of which to create a snapshot. -
setClusterArn
The ARN of the elastic cluster of which to create a snapshot. -
getSnapshotName
The name of the elastic cluster snapshot. -
setSnapshotName
The name of the elastic cluster snapshot. -
getTags
An array of key-value pairs to apply to the elastic cluster snapshot. -
setTags
An array of key-value pairs to apply to the elastic cluster snapshot.
-