Class CfnGraphSnapshot
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.neptunegraph.CfnGraphSnapshot
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IGraphSnapshotRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-24T20:29:32.678Z")
@Stability(Stable)
public class CfnGraphSnapshot
extends CfnResource
implements IInspectable, IGraphSnapshotRef, ITaggableV2
Resource Type definition for AWS::NeptuneGraph::GraphSnapshot.
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.neptunegraph.*;
CfnGraphSnapshot cfnGraphSnapshot = CfnGraphSnapshot.Builder.create(this, "MyCfnGraphSnapshot")
.snapshotName("snapshotName")
// the properties below are optional
.graphIdentifier("graphIdentifier")
.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.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.neptunegraph.IGraphSnapshotRef
IGraphSnapshotRef.Jsii$Default, IGraphSnapshotRef.Jsii$ProxyNested 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
ConstructorsModifierConstructorDescriptionprotectedCfnGraphSnapshot(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnGraphSnapshot(software.amazon.jsii.JsiiObjectRef objRef) CfnGraphSnapshot(software.constructs.Construct scope, String id, CfnGraphSnapshotProps props) Create a newAWS::NeptuneGraph::GraphSnapshot. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForGraphSnapshot(IGraphSnapshotRef resource) The ARN of the graph snapshot.The unique identifier of the graph snapshot.The ID of the KMS key used to encrypt and decrypt the snapshot.The time when the snapshot was created.The current status of the graph snapshot.Tag Manager which manages the tags for this resource.The unique identifier of the Neptune Analytics graph to create the snapshot from.A reference to a GraphSnapshot resource.The snapshot name.getTags()An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnGraphSnapshot.renderProperties(Map<String, Object> props) voidsetGraphIdentifier(String value) The unique identifier of the Neptune Analytics graph to create the snapshot from.voidsetSnapshotName(String value) The snapshot name.voidAn array of key-value pairs to apply to this resource.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, 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
-
CfnGraphSnapshot
protected CfnGraphSnapshot(software.amazon.jsii.JsiiObjectRef objRef) -
CfnGraphSnapshot
protected CfnGraphSnapshot(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnGraphSnapshot
@Stability(Stable) public CfnGraphSnapshot(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnGraphSnapshotProps props) Create a newAWS::NeptuneGraph::GraphSnapshot.- 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
-
arnForGraphSnapshot
@Stability(Stable) @NotNull public static String arnForGraphSnapshot(@NotNull IGraphSnapshotRef resource) - Parameters:
resource- This parameter is required.
-
isCfnGraphSnapshot
Checks whether the given object is a CfnGraphSnapshot.- 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.
-
getAttrArn
The ARN of the graph snapshot. -
getAttrId
The unique identifier of the graph snapshot. -
getAttrKmsKeyIdentifier
The ID of the KMS key used to encrypt and decrypt the snapshot. -
getAttrSnapshotCreateTime
The time when the snapshot was created. -
getAttrStatus
The current status of the graph snapshot. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getGraphSnapshotRef
A reference to a GraphSnapshot resource.- Specified by:
getGraphSnapshotRefin interfaceIGraphSnapshotRef
-
getSnapshotName
The snapshot name. -
setSnapshotName
The snapshot name. -
getGraphIdentifier
The unique identifier of the Neptune Analytics graph to create the snapshot from. -
setGraphIdentifier
The unique identifier of the Neptune Analytics graph to create the snapshot from. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-