Class: Aws::AppMesh::Types::TcpRouteAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::TcpRouteAction
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appmesh/types.rb
Overview
Note:
When making an API call, you may pass TcpRouteAction data as a hash:
{
weighted_targets: [ # required
{
virtual_node: "ResourceName", # required
weight: 1, # required
},
],
}
An object that represents the action to take if a match is determined.
Instance Attribute Summary collapse
-
#weighted_targets ⇒ Array<Types::WeightedTarget>
An object that represents the targets that traffic is routed to when a request matches the route.
Instance Attribute Details
#weighted_targets ⇒ Array<Types::WeightedTarget>
An object that represents the targets that traffic is routed to when a request matches the route.
2265 2266 2267 2268 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2265 class TcpRouteAction < Struct.new( :weighted_targets) include Aws::Structure end |