Class CfnGraph
The AWS ::NeptuneGraph::Graph
resource creates an graph.
Inherited Members
Namespace: Amazon.CDK.AwsNeptunegraph
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGraph : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnGraph
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
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.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptunegraph-graph.html
CloudformationResource: AWS::NeptuneGraph::Graph
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Aws_neptunegraph;
var cfnGraph = new CfnGraph(this, "MyCfnGraph", new CfnGraphProps {
ProvisionedMemory = 123,
// the properties below are optional
DeletionProtection = false,
GraphName = "graphName",
PublicConnectivity = false,
ReplicaCount = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VectorSearchConfiguration = new VectorSearchConfigurationProperty {
VectorSearchDimension = 123
}
});
Synopsis
Constructors
CfnGraph(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnGraph(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnGraph(Construct, String, ICfnGraphProps) |
Properties
AttrEndpoint | The connection endpoint for the graph. |
AttrGraphArn | The ARN of the graph. |
AttrGraphId | The ID of the graph. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DeletionProtection | A value that indicates whether the graph has deletion protection enabled. |
GraphName | The graph name. |
ProvisionedMemory | The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. |
PublicConnectivity | Specifies whether or not the graph can be reachable over the internet. |
ReplicaCount | The number of replicas in other AZs. |
Tags | Adds metadata tags to the new graph. |
VectorSearchConfiguration | Specifies the number of dimensions for vector embeddings that will be loaded into the graph. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnGraph(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnGraph(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnGraph(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnGraph(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnGraph(Construct, String, ICfnGraphProps)
public CfnGraph(Construct scope, string id, ICfnGraphProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnGraphProps
Resource properties.
Properties
AttrEndpoint
The connection endpoint for the graph.
public virtual string AttrEndpoint { get; }
Property Value
System.String
Remarks
For example: g-12a3bcdef4.us-east-1.neptune-graph.amazonaws.com
CloudformationAttribute: Endpoint
AttrGraphArn
The ARN of the graph.
public virtual string AttrGraphArn { get; }
Property Value
System.String
Remarks
For example: arn:aws:neptune-graph:us-east-1:111122223333:graph/g-12a3bcdef4
CloudformationAttribute: GraphArn
AttrGraphId
The ID of the graph.
public virtual string AttrGraphId { get; }
Property Value
System.String
Remarks
For example: g-12a3bcdef4
CloudformationAttribute: GraphId
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DeletionProtection
A value that indicates whether the graph has deletion protection enabled.
public virtual object DeletionProtection { get; set; }
Property Value
System.Object
GraphName
The graph name.
public virtual string GraphName { get; set; }
Property Value
System.String
Remarks
For example: my-graph-1
.
ProvisionedMemory
The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.
public virtual double ProvisionedMemory { get; set; }
Property Value
System.Double
PublicConnectivity
Specifies whether or not the graph can be reachable over the internet.
public virtual object PublicConnectivity { get; set; }
Property Value
System.Object
Remarks
All access to graphs is IAM authenticated.
ReplicaCount
The number of replicas in other AZs.
public virtual Nullable<double> ReplicaCount { get; set; }
Property Value
System.Nullable<System.Double>
Tags
Adds metadata tags to the new graph.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
VectorSearchConfiguration
Specifies the number of dimensions for vector embeddings that will be loaded into the graph.
public virtual object VectorSearchConfiguration { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>