Class: Aws::Context::Types::TraversalStrategy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-context/lib/aws-sdk-context/types.rb

Overview

The traversal settings for TraverseAgentContext: which edge types to follow, in which direction, and how deep.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#direction ⇒ String

Direction of edge traversal.

Valid values:

  • OUTGOING - Follow edges pointing away from the current node (source -> target).

  • INCOMING - Follow edges pointing toward the current node (target -> source).

  • BOTH - Follow edges in both directions.

Returns:

  • (String)


7340
7341
7342
7343
7344
7345
7346
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7340

class TraversalStrategy < Struct.new(
  :edge_types,
  :direction,
  :max_depth)
  SENSITIVE = []
  include Aws::Structure
end

#edge_types ⇒ Array<String>

Edge types to follow. When omitted, all edge types are traversed.

Returns:

  • (Array<String>)


7340
7341
7342
7343
7344
7345
7346
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7340

class TraversalStrategy < Struct.new(
  :edge_types,
  :direction,
  :max_depth)
  SENSITIVE = []
  include Aws::Structure
end

#max_depth ⇒ Integer

The maximum traversal depth from the seed node, from 1 to 3.

Returns:

  • (Integer)


7340
7341
7342
7343
7344
7345
7346
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7340

class TraversalStrategy < Struct.new(
  :edge_types,
  :direction,
  :max_depth)
  SENSITIVE = []
  include Aws::Structure
end