AWS::NeptuneGraph::Graph - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


The Amazon::NeptuneGraph::Graph resource creates an Amazon Neptune Analytics graph. Amazon Neptune Analytics is a memory-optimized graph database engine for analytics. For more information, see Amazon Neptune Analytics .

You can use Amazon::NeptuneGraph::Graph.DeletionProtection to help guard against unintended deletion of your graph.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Type" : "AWS::NeptuneGraph::Graph", "Properties" : { "DeletionProtection" : Boolean, "GraphName" : String, "ProvisionedMemory" : Integer, "PublicConnectivity" : Boolean, "ReplicaCount" : Integer, "Tags" : [ Tag, ... ], "VectorSearchConfiguration" : VectorSearchConfiguration } }


Type: AWS::NeptuneGraph::Graph Properties: DeletionProtection: Boolean GraphName: String ProvisionedMemory: Integer PublicConnectivity: Boolean ReplicaCount: Integer Tags: - Tag VectorSearchConfiguration: VectorSearchConfiguration



A value that indicates whether the graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.

Required: No

Type: Boolean

Update requires: No interruption


The graph name. For example: my-graph-1.

The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens.

If you don't specify a graph name, a unique graph name is generated for you using the prefix graph-for, followed by a combination of Stack Name and a UUID.

Required: No

Type: String

Pattern: ^[a-zA-z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*$

Minimum: 1

Maximum: 63

Update requires: Replacement


The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.

Min = 128

Required: Yes

Type: Integer

Update requires: Some interruptions


Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated.

When the graph is publicly available, its domain name system (DNS) endpoint resolves to the public IP address from the internet. When the graph isn't publicly available, you need to create a PrivateGraphEndpoint in a given VPC to ensure the DNS name resolves to a private IP address that is reachable from the VPC.

Default: If not specified, the default value is false.


If enabling public connectivity for the first time, there will be a delay while it is enabled.

Required: No

Type: Boolean

Update requires: No interruption


The number of replicas in other AZs.

Default: If not specified, the default value is 1.

Required: No

Type: Integer

Update requires: Replacement


Adds metadata tags to the new graph. These tags can also be used with cost allocation reporting, or used in a Condition statement in an IAM policy.

Required: No

Type: Array of Tag

Maximum: 50

Update requires: No interruption


Specifies the number of dimensions for vector embeddings that will be loaded into the graph. The value is specified as dimension=value. Max = 65,535

Required: No

Type: VectorSearchConfiguration

Update requires: Replacement

Return values


When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the GraphId.

For more information about using the Ref function, see Ref.


The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.


The connection endpoint for the graph. For example:


The ARN of the graph. For example: arn:aws:neptune-graph:us-east-1:111122223333:graph/g-12a3bcdef4


The ID of the graph. For example: g-12a3bcdef4