You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/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 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1351

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