View a markdown version of this page

NeighborNode - AWS Context

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

depth

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

Unique identifier of the neighbor node.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Pattern: [\w\-\.#:@/%~]+

Required: Yes

pathEdges

The edges along the path from the seed node to this neighbor, preserving traversal order.

Type: Array of PathEdge objects

Array Members: Minimum number of 0 items. Maximum number of 3 items.

Required: No

properties

Arbitrary key-value properties stored on this neighbor node.

Type: String to AnyValue 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

For more information about using this API in one of the language-specific AWS SDKs, see the following: