Class CfnGraph
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.neptunegraph.CfnGraph
- 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnGraph.static interfaceThe vector search configuration.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.IInspectable
IInspectable.Jsii$Default, IInspectable.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.Graph resource ARN.The auto-generated id assigned by the service.Value that indicates whether the Graph has deletion protection enabled.Contains a user-supplied name for the Graph.Memory for the Graph.Specifies whether the Graph can be reached over the internet.Specifies the number of replicas you want when finished.getTags()The tags associated with this graph.The vector search configuration.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDeletionProtection(Boolean value) Value that indicates whether the Graph has deletion protection enabled.voidsetDeletionProtection(IResolvable value) Value that indicates whether the Graph has deletion protection enabled.voidsetGraphName(String value) Contains a user-supplied name for the Graph.voidsetProvisionedMemory(Number value) Memory for the Graph.voidsetPublicConnectivity(Boolean value) Specifies whether the Graph can be reached over the internet.voidsetPublicConnectivity(IResolvable value) Specifies whether the Graph can be reached over the internet.voidsetReplicaCount(Number value) Specifies the number of replicas you want when finished.voidThe tags associated with this graph.voidThe vector search configuration.voidThe vector search configuration.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, 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.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
Graph resource ARN. -
getAttrGraphId
The auto-generated id assigned by the service. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getProvisionedMemory
Memory for the Graph. -
setProvisionedMemory
Memory for the Graph. -
getDeletionProtection
Value that indicates whether the Graph has deletion protection enabled. -
setDeletionProtection
Value that indicates whether the Graph has deletion protection enabled. -
setDeletionProtection
Value that indicates whether the Graph has deletion protection enabled. -
getGraphName
Contains a user-supplied name for the Graph. -
setGraphName
Contains a user-supplied name for the Graph. -
getPublicConnectivity
Specifies whether the Graph can be reached over the internet.Access to all graphs requires IAM authentication.
-
setPublicConnectivity
Specifies whether the Graph can be reached over the internet.Access to all graphs requires IAM authentication.
-
setPublicConnectivity
Specifies whether the Graph can be reached over the internet.Access to all graphs requires IAM authentication.
-
getReplicaCount
Specifies the number of replicas you want when finished.All replicas will be provisioned in different availability zones.
-
setReplicaCount
Specifies the number of replicas you want when finished.All replicas will be provisioned in different availability zones.
-
getTags
The tags associated with this graph. -
setTags
The tags associated with this graph. -
getVectorSearchConfiguration
The vector search configuration. -
setVectorSearchConfiguration
The vector search configuration. -
setVectorSearchConfiguration
@Stability(Stable) public void setVectorSearchConfiguration(@Nullable CfnGraph.VectorSearchConfigurationProperty value) The vector search configuration.
-