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

An object that represents a TCP route type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionTypes::TcpRouteAction

The action to take if a match is determined.



6565
6566
6567
6568
6569
6570
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 6565

class TcpRoute < Struct.new(
  :action,
  :timeout)
  SENSITIVE = []
  include Aws::Structure
end

#timeoutTypes::TcpTimeout

An object that represents types of timeouts.

Returns:



6565
6566
6567
6568
6569
6570
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 6565

class TcpRoute < Struct.new(
  :action,
  :timeout)
  SENSITIVE = []
  include Aws::Structure
end