Class: Aws::AppMesh::Types::VirtualRouterSpec

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 VirtualRouterSpec data as a hash:

{
  listeners: [
    {
      port_mapping: { # required
        port: 1, # required
        protocol: "grpc", # required, accepts grpc, http, http2, tcp
      },
    },
  ],
}

An object that represents the specification of a virtual router.

Instance Attribute Summary collapse

Instance Attribute Details

#listenersArray<Types::VirtualRouterListener>

The listeners that the virtual router is expected to receive inbound traffic from. You can specify one listener.

Returns:



1841
1842
1843
1844
# File 'lib/aws-sdk-appmesh/types.rb', line 1841

class VirtualRouterSpec < Struct.new(
  :listeners)
  include Aws::Structure
end