Class: Aws::AppMesh::Types::GrpcRouteAction

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-appmesh/types.rb

Overview

Note:

When making an API call, you may pass GrpcRouteAction 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

Instance Attribute Details

#weighted_targetsArray<Types::WeightedTarget>

An object that represents the targets that traffic is routed to when a request matches the route.

Returns:



1094
1095
1096
1097
# File 'lib/aws-sdk-appmesh/types.rb', line 1094

class GrpcRouteAction < Struct.new(
  :weighted_targets)
  include Aws::Structure
end