AWS CloudFormation
User Guide (Version )

AWS::GameLift::Fleet ServerProcess

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "ConcurrentExecutions" : Integer, "LaunchPath" : String, "Parameters" : String }

YAML

ConcurrentExecutions: Integer LaunchPath: String Parameters: String

Properties

ConcurrentExecutions

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

Required: Yes

Type: Integer

Minimum: 1

Update requires: No interruption

LaunchPath

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"

Required: Yes

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption

Parameters

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

Required: No

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption

See Also

On this page: