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
- Struct
- Aws::AppMesh::Types::TcpRoute
- 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
-
#action ⇒ Types::TcpRouteAction
The action to take if a match is determined.
-
#timeout ⇒ Types::TcpTimeout
An object that represents types of timeouts.
Instance Attribute Details
#action ⇒ Types::TcpRouteAction
The action to take if a match is determined.
#timeout ⇒ Types::TcpTimeout
An object that represents types of timeouts.