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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

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

#listenersArray<Types::VirtualRouterListener>

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

Returns: