Module Values.ServerProcessSource

A set of instructions for launching server processes on fleet computes. Server processes run either an executable in a custom game build or a Amazon GameLift Servers Realtime script. Server process configurations are part of a fleet's runtime configuration.

Sourcetype nonrec t = {
  1. launchPath : LaunchPathStringModel.t;
    (*

    The location of a game build executable or Realtime script. Game builds and Realtime scripts are installed on instances at the root: Windows (custom game builds only): C:\game. Example: "C:\game\MyGame\server.exe" Linux: /local/game. Examples: "/local/game/MyGame/server.exe" or "/local/game/MyRealtimeScript.js" Amazon GameLift Servers doesn't support the use of setup scripts that launch the game executable. For custom game builds, this parameter must indicate the executable that calls the server SDK operations initSDK() and ProcessReady().

    *)
  2. parameters : LaunchParametersStringModel.t option;
    (*

    An optional list of parameters to pass to the server executable or Realtime script on launch.

    *)
  3. concurrentExecutions : PositiveInteger.t;
    (*

    The number of server processes using this configuration that run concurrently on each instance or compute.

    *)
}
Sourceval context_ : string
Sourceval make : ?parameters:??? -> launchPath:LaunchPathStringModel.t -> concurrentExecutions:PositiveInteger.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of PositiveInteger.t | `String of LaunchPathStringModel.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