Class: Aws::AppMesh::Types::VirtualGatewayPortMapping
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::VirtualGatewayPortMapping
- Defined in:
- gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb
Overview
Note:
When making an API call, you may pass VirtualGatewayPortMapping data as a hash:
{
port: 1, # required
protocol: "http", # required, accepts http, 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. Specify one protocol.
8982 8983 8984 8985 8986 8987 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 8982 class VirtualGatewayPortMapping < Struct.new( :port, :protocol) SENSITIVE = [] include Aws::Structure end |
#protocol ⇒ String
The protocol used for the port mapping.
8982 8983 8984 8985 8986 8987 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 8982 class VirtualGatewayPortMapping < Struct.new( :port, :protocol) SENSITIVE = [] include Aws::Structure end |