Class: Aws::AppMesh::Types::TcpRoute

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-appmesh/types.rb

Overview

Note:

When making an API call, you may pass TcpRoute data as a hash:

{
  action: { # required
    weighted_targets: [ # required
      {
        virtual_node: "ResourceName", # required
        weight: 1, # required
      },
    ],
  },
}

An object representing the TCP routing specification for a route.

Instance Attribute Summary collapse

Instance Attribute Details

#actionTypes::TcpRouteAction

The action to take if a match is determined.



1351
1352
1353
1354
# File 'lib/aws-sdk-appmesh/types.rb', line 1351

class TcpRoute < Struct.new(
  :action)
  include Aws::Structure
end