Module Values.ContainerPortMappingSource

Describes a mapping between a container port and a connection port on a fleet instance. You define container ports in a container group definition. Amazon GameLift Servers assigns connection ports when it deploys the container group to an instance. Part of: ContainerGroupPortMapping

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

    The port number on the container. This port is defined in the container group definition. Container port numbers must be unique within a container group definition.

    *)
  2. connectionPort : PortNumber.t option;
    (*

    The port number on the fleet instance that maps to the container port. Connection ports are assigned by Amazon GameLift Servers when the container group is deployed to an instance.

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

    The network protocol for the port mapping. Valid values are TCP or UDP.

    *)
}
Sourceval make : ?containerPort:??? -> ?connectionPort:??? -> ?protocol:??? -> 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