AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::NeptuneGraph::Graph

CfnGraph

The `AWS ::NeptuneGraph::Graph` resource creates an graph. is a memory-optimized graph database engine for analytics. For more information, see [](https://docs.aws.amazon.com/neptune-analytics/latest/userguide/what-is-neptune-analytics.html) . You can use `AWS ::NeptuneGraph::Graph.DeletionProtection` to help guard against unintended deletion of your graph.

Import

import { CfnGraph } from 'aws-cdk-lib/aws-neptunegraph';

Or use the module namespace:

import * as neptunegraph from 'aws-cdk-lib/aws-neptunegraph';
// neptunegraph.CfnGraph

Properties

Configuration passed to the constructor as CfnGraphProps.

provisionedMemoryRequired
number

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

deletionProtectionOptional
boolean | IResolvable

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

graphNameOptional
string

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` .

publicConnectivityOptional
boolean | IResolvable

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.

replicaCountOptional
number

The number of replicas in other AZs. Default: If not specified, the default value is 1.

tagsOptional
CfnTag[]

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.

vectorSearchConfigurationOptional
IResolvable | VectorSearchConfigurationProperty

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

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-neptunegraph
CFN TypeAWS::NeptuneGraph::Graph
Properties7

Related Constructs

External Links