class Aws::AppMesh::Types::GrpcRouteAction

An object that represents the action to take if a match is determined.

@note When making an API call, you may pass GrpcRouteAction

data as a hash:

    {
      weighted_targets: [ # required
        {
          virtual_node: "ResourceName", # required
          weight: 1, # required
        },
      ],
    }

@!attribute [rw] weighted_targets

An object that represents the targets that traffic is routed to when
a request matches the route.
@return [Array<Types::WeightedTarget>]

@see docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/GrpcRouteAction AWS API Documentation

Constants

SENSITIVE