Class: Aws::AppMesh::Types::PortMapping
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::PortMapping
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb
Overview
Note:
When making an API call, you may pass PortMapping data as a hash:
{
port: 1, # required
protocol: "http", # required, accepts http, tcp, http2, grpc
}
An object that represents a port mapping.
Constant Summary collapse
- SENSITIVE =
[]
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.
5949 5950 5951 5952 5953 5954 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 5949 class PortMapping < Struct.new( :port, :protocol) SENSITIVE = [] include Aws::Structure end |
#protocol ⇒ String
The protocol used for the port mapping. Specify one protocol.
5949 5950 5951 5952 5953 5954 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 5949 class PortMapping < Struct.new( :port, :protocol) SENSITIVE = [] include Aws::Structure end |