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: