java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)", date="2024-01-03T18:29:29.310Z") @Stability(Stable) public class CfnGraph extends CfnResource implements IInspectable
The AWS::NeptuneGraph::Graph resource creates an Amazon NeptuneGraph Graph.

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.*;
 CfnGraph cfnGraph = CfnGraph.Builder.create(this, "MyCfnGraph")
         .provisionedMemory(123)
         // the properties below are optional
         .deletionProtection(false)
         .graphName("graphName")
         .publicConnectivity(false)
         .replicaCount(123)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .vectorSearchConfiguration(VectorSearchConfigurationProperty.builder()
                 .vectorSearchDimension(123)
                 .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

    • CfnGraph

      protected CfnGraph(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnGraph

      protected CfnGraph(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnGraph

      @Stability(Stable) public CfnGraph(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnGraphProps 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

      @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.
    • getAttrEndpoint

      @Stability(Stable) @NotNull public String getAttrEndpoint()
      The connection endpoint for the graph.

      For example: g-12a3bcdef4.us-east-1.neptune-graph.amazonaws.com

    • getAttrGraphArn

      @Stability(Stable) @NotNull public String getAttrGraphArn()
      Graph resource ARN.
    • getAttrGraphId

      @Stability(Stable) @NotNull public String getAttrGraphId()
      The auto-generated id assigned by the service.
    • getCfnProperties

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

      @Stability(Stable) @NotNull public Number getProvisionedMemory()
      Memory for the Graph.
    • setProvisionedMemory

      @Stability(Stable) public void setProvisionedMemory(@NotNull Number value)
      Memory for the Graph.
    • getDeletionProtection

      @Stability(Stable) @Nullable public Object getDeletionProtection()
      Value that indicates whether the Graph has deletion protection enabled.
    • setDeletionProtection

      @Stability(Stable) public void setDeletionProtection(@Nullable Boolean value)
      Value that indicates whether the Graph has deletion protection enabled.
    • setDeletionProtection

      @Stability(Stable) public void setDeletionProtection(@Nullable IResolvable value)
      Value that indicates whether the Graph has deletion protection enabled.
    • getGraphName

      @Stability(Stable) @Nullable public String getGraphName()
      Contains a user-supplied name for the Graph.
    • setGraphName

      @Stability(Stable) public void setGraphName(@Nullable String value)
      Contains a user-supplied name for the Graph.
    • getPublicConnectivity

      @Stability(Stable) @Nullable public Object getPublicConnectivity()
      Specifies whether the Graph can be reached over the internet.

      Access to all graphs requires IAM authentication.

    • setPublicConnectivity

      @Stability(Stable) public void setPublicConnectivity(@Nullable Boolean value)
      Specifies whether the Graph can be reached over the internet.

      Access to all graphs requires IAM authentication.

    • setPublicConnectivity

      @Stability(Stable) public void setPublicConnectivity(@Nullable IResolvable value)
      Specifies whether the Graph can be reached over the internet.

      Access to all graphs requires IAM authentication.

    • getReplicaCount

      @Stability(Stable) @Nullable public Number getReplicaCount()
      Specifies the number of replicas you want when finished.

      All replicas will be provisioned in different availability zones.

    • setReplicaCount

      @Stability(Stable) public void setReplicaCount(@Nullable Number value)
      Specifies the number of replicas you want when finished.

      All replicas will be provisioned in different availability zones.

    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags associated with this graph.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags associated with this graph.
    • getVectorSearchConfiguration

      @Stability(Stable) @Nullable public Object getVectorSearchConfiguration()
      The vector search configuration.
    • setVectorSearchConfiguration

      @Stability(Stable) public void setVectorSearchConfiguration(@Nullable IResolvable value)
      The vector search configuration.
    • setVectorSearchConfiguration

      @Stability(Stable) public void setVectorSearchConfiguration(@Nullable CfnGraph.VectorSearchConfigurationProperty value)
      The vector search configuration.