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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TcpRoute as input to an Aws::Client method, you can use a vanilla Hash:

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

An object representing the TCP routing specification for a route.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#actionTypes::TcpRouteAction

An object representing the traffic distribution requirements for matched TCP requests.

Returns:

  • (Types::TcpRouteAction)

    An object representing the traffic distribution requirements for matched TCP requests.

    .