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

An object that represents a port mapping.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#portInteger

Returns:

  • (Integer)

#protocolString

Possible values:

  • grpc
  • http
  • http2
  • tcp

Returns:

  • (String)