Class CfnGraph
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggableV2,IGraphRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
AWS ::NeptuneGraph::Graph resource creates an graph.
is a memory-optimized graph database engine for analytics. For more information, see .
You can use AWS ::NeptuneGraph::Graph.DeletionProtection to help guard against unintended deletion of your 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnGraph.static interfaceThe vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.neptunegraph.IGraphRef
IGraphRef.Jsii$Default, IGraphRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnGraph(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnGraph(software.amazon.jsii.JsiiObjectRef objRef) CfnGraph(software.constructs.Construct scope, String id, CfnGraphProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe connection endpoint for the graph.The ARN of the graph.The ID of the graph.Tag Manager which manages the tags for this resource.A value that indicates whether the graph has deletion protection enabled.The graph name.A reference to a Graph resource.The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.Specifies whether or not the graph can be reachable over the internet.The number of replicas in other AZs.getTags()Adds metadata tags to the new graph.Specifies the number of dimensions for vector embeddings that will be loaded into the graph.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDeletionProtection(Boolean value) A value that indicates whether the graph has deletion protection enabled.voidsetDeletionProtection(IResolvable value) A value that indicates whether the graph has deletion protection enabled.voidsetGraphName(String value) The graph name.voidsetProvisionedMemory(Number value) The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.voidsetPublicConnectivity(Boolean value) Specifies whether or not the graph can be reachable over the internet.voidsetPublicConnectivity(IResolvable value) Specifies whether or not the graph can be reachable over the internet.voidsetReplicaCount(Number value) The number of replicas in other AZs.voidAdds metadata tags to the new graph.voidSpecifies the number of dimensions for vector embeddings that will be loaded into the graph.voidSpecifies the number of dimensions for vector embeddings that will be loaded into the graph.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrEndpoint
The connection endpoint for the graph.For example:
g-12a3bcdef4.us-east-1.neptune-graph.amazonaws.com -
getAttrGraphArn
The ARN of the graph.For example:
arn:aws:neptune-graph:us-east-1:111122223333:graph/g-12a3bcdef4 -
getAttrGraphId
The ID of the graph.For example:
g-12a3bcdef4 -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getGraphRef
A reference to a Graph resource.- Specified by:
getGraphRefin interfaceIGraphRef
-
getProvisionedMemory
The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. -
setProvisionedMemory
The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. -
getDeletionProtection
A value that indicates whether the graph has deletion protection enabled.Returns union: either
BooleanorIResolvable -
setDeletionProtection
A value that indicates whether the graph has deletion protection enabled. -
setDeletionProtection
A value that indicates whether the graph has deletion protection enabled. -
getGraphName
The graph name.For example:
my-graph-1. -
setGraphName
The graph name.For example:
my-graph-1. -
getPublicConnectivity
Specifies whether or not the graph can be reachable over the internet.All access to graphs is IAM authenticated.
Returns union: either
BooleanorIResolvable -
setPublicConnectivity
Specifies whether or not the graph can be reachable over the internet.All access to graphs is IAM authenticated.
-
setPublicConnectivity
Specifies whether or not the graph can be reachable over the internet.All access to graphs is IAM authenticated.
-
getReplicaCount
The number of replicas in other AZs. -
setReplicaCount
The number of replicas in other AZs. -
getTags
Adds metadata tags to the new graph. -
setTags
Adds metadata tags to the new graph. -
getVectorSearchConfiguration
Specifies the number of dimensions for vector embeddings that will be loaded into the graph.Returns union: either
IResolvableorCfnGraph.VectorSearchConfigurationProperty -
setVectorSearchConfiguration
Specifies the number of dimensions for vector embeddings that will be loaded into the graph. -
setVectorSearchConfiguration
@Stability(Stable) public void setVectorSearchConfiguration(@Nullable CfnGraph.VectorSearchConfigurationProperty value) Specifies the number of dimensions for vector embeddings that will be loaded into the graph.
-