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

Class: Aws::AppMesh::Types::PortMapping

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

Overview

Note:

When passing PortMapping as input to an Aws::Client method, you can use a vanilla Hash:

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

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#portInteger

Returns:

  • (Integer)

#protocolString

Possible values:

  • http
  • tcp

Returns:

  • (String)