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: "grpc", # required, accepts grpc, http, http2, tcp
  },
}

An object that represents a virtual router listener.

Instance Attribute Summary collapse

Instance Attribute Details

#port_mappingTypes::PortMapping

An object that represents a port mapping.

Returns:



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

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