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
      },
    ],
  },
  timeout: {
    idle: {
      unit: "s", # accepts s, ms
      value: 1,
    },
  },
}

An object that represents a TCP route type.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#actionTypes::TcpRouteAction

The action to take if a match is determined.

Returns:

#timeoutTypes::TcpTimeout

An object that represents types of timeouts.

Returns: