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 that represents a TCP route type.

Instance Attribute Summary collapse

Instance Attribute Details

#actionTypes::TcpRouteAction

The action to take if a match is determined.



1485
1486
1487
1488
# File 'lib/aws-sdk-appmesh/types.rb', line 1485

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