class Aws::AppMesh::Types::TcpRoute

An object that represents a TCP route type.

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

@!attribute [rw] action

The action to take if a match is determined.
@return [Types::TcpRouteAction]

@!attribute [rw] timeout

An object that represents types of timeouts.
@return [Types::TcpTimeout]

@see docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TcpRoute AWS API Documentation

Constants

SENSITIVE