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

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#portInteger

The port used for the port mapping.

Returns:

  • (Integer)


5980
5981
5982
5983
5984
5985
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 5980

class PortMapping < Struct.new(
  :port,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The protocol used for the port mapping. Specify one protocol.

Returns:

  • (String)


5980
5981
5982
5983
5984
5985
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 5980

class PortMapping < Struct.new(
  :port,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end