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

Class: Aws::AppMesh::Types::TcpRouteAction

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

Overview

Note:

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

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

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#weighted_targetsArray<Types::WeightedTarget>

Returns: