Class CfnGraphSnapshot

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 new AWS::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

      @Stability(Stable) @NotNull public static Boolean isCfnGraphSnapshot(@NotNull Object x)
      Checks whether the given object is a CfnGraphSnapshot.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The ARN of the graph snapshot.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The unique identifier of the graph snapshot.
    • getAttrKmsKeyIdentifier

      @Stability(Stable) @NotNull public String getAttrKmsKeyIdentifier()
      The ID of the KMS key used to encrypt and decrypt the snapshot.
    • getAttrSnapshotCreateTime

      @Stability(Stable) @NotNull public String getAttrSnapshotCreateTime()
      The time when the snapshot was created.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The current status of the graph snapshot.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getGraphSnapshotRef

      @Stability(Stable) @NotNull public GraphSnapshotReference getGraphSnapshotRef()
      A reference to a GraphSnapshot resource.
      Specified by:
      getGraphSnapshotRef in interface IGraphSnapshotRef
    • getSnapshotName

      @Stability(Stable) @NotNull public String getSnapshotName()
      The snapshot name.
    • setSnapshotName

      @Stability(Stable) public void setSnapshotName(@NotNull String value)
      The snapshot name.
    • getGraphIdentifier

      @Stability(Stable) @Nullable public String getGraphIdentifier()
      The unique identifier of the Neptune Analytics graph to create the snapshot from.
    • setGraphIdentifier

      @Stability(Stable) public void setGraphIdentifier(@Nullable String value)
      The unique identifier of the Neptune Analytics graph to create the snapshot from.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this resource.