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

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

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

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

An object representing 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. Currently only one listener is supported per virtual router.

Returns:



1708
1709
1710
1711
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 1708

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