FleetServerProcessArgs

data class FleetServerProcessArgs(val concurrentExecutions: Output<Int>, val launchPath: Output<String>, val parameters: Output<String>? = null) : ConvertibleToJava<FleetServerProcessArgs>

A set of instructions for launching server processes on each instance in a fleet. Each instruction set identifies the location of the server executable, optional launch parameters, and the number of server processes with this configuration to maintain concurrently on the instance. Server process configurations make up a fleet's RuntimeConfiguration.

Constructors

Link copied to clipboard
constructor(concurrentExecutions: Output<Int>, launchPath: Output<String>, parameters: Output<String>? = null)

Properties

Link copied to clipboard

The number of server processes that use this configuration to run concurrently on an instance.

Link copied to clipboard
val launchPath: Output<String>

The location of the server executable in a custom game build or the name of the Realtime script file that contains the Init() function. Game builds and Realtime scripts are installed on instances at the root: Windows (for 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"

Link copied to clipboard
val parameters: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): FleetServerProcessArgs