Module Values.AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetailsSource

A port mapping for the container.

Sourcetype nonrec t = {
  1. containerPort : Integer.t option;
    (*

    The port number on the container that is bound to the user-specified or automatically assigned host port.

    *)
  2. hostPort : Integer.t option;
    (*

    The port number on the container instance to reserve for the container.

    *)
  3. protocol : NonEmptyString.t option;
    (*

    The protocol used for the port mapping. The default is tcp.

    *)
}
Sourceval make : ?containerPort:??? -> ?hostPort:??? -> ?protocol:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.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