Class: Aws::AppMesh::Types::TcpRouteAction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/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.

Constant Summary collapse

SENSITIVE =
[]

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:



5939
5940
5941
5942
5943
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 5939

class TcpRouteAction < Struct.new(
  :weighted_targets)
  SENSITIVE = []
  include Aws::Structure
end