ServerProcess - GameLift Service

ServerProcess

A set of instructions for launching server processes on each instance in a fleet. Server processes run either an executable in a custom game build or a Realtime Servers script. Server process configurations are part of a fleet's RuntimeConfiguration .

Contents

Note

In the following list, the required parameters are described first.

ConcurrentExecutions

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

Type: Integer

Valid Range: Minimum value of 1.

Required: Yes

LaunchPath

The location of a game build executable or the Realtime script file that contains the Init() function. 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"

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: Yes

Parameters

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: