Module Values.PortMappingSource

An object that represents a port mapping.

Sourcetype nonrec t = {
  1. port : PortNumber.t;
    (*

    The port used for the port mapping.

    *)
  2. protocol : PortProtocol.t;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : port:PortNumber.t -> protocol:PortProtocol.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of PortNumber.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t