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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-appmesh/types.rb

Overview

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)


3807
3808
3809
3810
3811
3812
# File 'lib/aws-sdk-appmesh/types.rb', line 3807

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

#protocolString

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

Returns:

  • (String)


3807
3808
3809
3810
3811
3812
# File 'lib/aws-sdk-appmesh/types.rb', line 3807

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