

# NeighborNode

A node that the traversal reached from the seed node, with its properties, its depth, and the edges on the path to it from the seed node.

## Contents
<a name="API_NeighborNode_Contents"></a>

 ** depth **   <a name="context-Type-NeighborNode-depth"></a>
The depth at which the traversal found this neighbor (1 = directly connected to seed, 2 = two edges away, and so on).  
Type: Integer  
Required: Yes

 ** nodeId **   <a name="context-Type-NeighborNode-nodeId"></a>
Unique identifier of the neighbor node.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2048.  
Pattern: `[\w\-\.#:@/%~]+`   
Required: Yes

 ** pathEdges **   <a name="context-Type-NeighborNode-pathEdges"></a>
The edges along the path from the seed node to this neighbor, preserving traversal order.  
Type: Array of [PathEdge](API_PathEdge.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 3 items.  
Required: No

 ** properties **   <a name="context-Type-NeighborNode-properties"></a>
Arbitrary key-value properties stored on this neighbor node.  
Type: String to [AnyValue](API_AnyValue.md) object map  
Map Entries: Minimum number of 0 items. Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: No

## See Also
<a name="API_NeighborNode_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/context-2022-07-26/NeighborNode) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/NeighborNode) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/NeighborNode) 