class Aws::AppMesh::Types::PortMapping
An object that represents a port mapping.
@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 }
@!attribute [rw] port
The port used for the port mapping. @return [Integer]
@!attribute [rw] protocol
The protocol used for the port mapping. Specify one protocol. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/PortMapping AWS API Documentation
Constants
- SENSITIVE