AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

  • Object
show all
Defined in:



When passing VirtualRouterSpec as input to an Aws::Client method, you can use a vanilla Hash:

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

An object that represents the specification of a virtual router.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details


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