You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AppMesh::Types::GrpcRouteAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::GrpcRouteAction
- Defined in:
- (unknown)
Overview
Note:
When passing GrpcRouteAction as input to an Aws::Client method, you can use a vanilla Hash:
{
weighted_targets: [ # required
{
virtual_node: "ResourceName", # required
weight: 1, # required
},
],
}
An object that represents the action to take if a match is determined.
Returned by:
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.