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

Class: Aws::AppMesh::Types::VirtualRouterListener

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

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

An object representing a virtual router listener.

Instance Attribute Summary collapse

Instance Attribute Details

#port_mappingTypes::PortMapping

An object representing a virtual node or virtual router listener port mapping.

Returns:



30
31
32
33
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 30

class VirtualRouterListener < Struct.new(
  :port_mapping)
  include Aws::Structure
end