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
- Struct
- Aws::AppMesh::Types::PortMapping
- 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, http2, grpc
}
An object that represents a port mapping.
Returned by:
Instance Attribute Summary collapse
-
#port ⇒ Integer
The port used for the port mapping.
-
#protocol ⇒ String
The protocol used for the port mapping.
Instance Attribute Details
#port ⇒ Integer
The port used for the port mapping.
#protocol ⇒ String
The protocol used for the port mapping. Specify one protocol.
Possible values:
- http
- tcp
- http2
- grpc