CfnGraphProps Struct
Properties for defining a CfnGraph.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_neptunegraph as neptunegraph } from 'aws-cdk-lib';
const cfnGraphProps: neptunegraph.CfnGraphProps = {
provisionedMemory: 123,
// the properties below are optional
deletionProtection: false,
graphName: 'graphName',
importTask: {
roleArn: 'roleArn',
source: 'source',
// the properties below are optional
blankNodeHandling: 'blankNodeHandling',
failOnError: false,
format: 'format',
importOptions: {
neptune: {
s3ExportKmsKeyId: 's3ExportKmsKeyId',
s3ExportPath: 's3ExportPath',
// the properties below are optional
preserveDefaultVertexLabels: false,
preserveEdgeIds: false,
},
},
maxProvisionedMemory: 123,
minProvisionedMemory: 123,
parquetType: 'parquetType',
},
kmsKeyIdentifier: 'kmsKeyIdentifier',
publicConnectivity: false,
replicaCount: 123,
tags: [{
key: 'key',
value: 'value',
}],
vectorSearchConfiguration: {
vectorSearchDimension: 123,
},
};
Properties
deletionProtectionoptionalboolean | IResolvabledeletion_protectionoptionaltyping.Union[bool, IResolvable]deletionProtectionoptionalBooleanDeletionProtectionoptionalboolDeletionProtectionoptionalinterface{}#The graph can't be deleted when deletion protection is enabled.
graphNameoptionalstringgraph_nameoptionalstrgraphNameoptionalStringGraphNameoptionalstringGraphNameoptional*string#notes
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 .
importTaskoptionalIResolvable | CfnGraph.ImportTaskPropertyimport_taskoptionaltyping.Union[IResolvable, ImportTaskProperty]importTaskoptionalIResolvableImportTaskoptionalIResolvableImportTaskoptionalinterface{}#kmsKeyIdentifieroptionalstringkms_key_identifieroptionalstrkmsKeyIdentifieroptionalStringKmsKeyIdentifieroptionalstringKmsKeyIdentifieroptional*string#If not specified, the graph is encrypted with an AWS managed key.
provisionedMemorynumberprovisioned_memoryint | floatprovisionedMemoryNumberProvisionedMemorydoubleProvisionedMemory*float64required#Min = 16
publicConnectivityoptionalboolean | IResolvablepublic_connectivityoptionaltyping.Union[bool, IResolvable]publicConnectivityoptionalBooleanPublicConnectivityoptionalboolPublicConnectivityoptionalinterface{}#notes
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.
replicaCountoptionalnumberreplica_countoptionalint | floatreplicaCountoptionalNumberReplicaCountoptionaldoubleReplicaCountoptional*float64#Default: If not specified, the default value is 1.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#These tags can also be used with cost allocation reporting, or used in a Condition statement in an IAM policy.
vectorSearchConfigurationoptionalIResolvable | CfnGraph.VectorSearchConfigurationPropertyvector_search_configurationoptionaltyping.Union[IResolvable, VectorSearchConfigurationProperty]vectorSearchConfigurationoptionalIResolvableVectorSearchConfigurationoptionalIResolvableVectorSearchConfigurationoptionalinterface{}#The value is specified as dimension= value. Max = 65,535