AWS::GameLift::Fleet ServerProcess - AWS CloudFormation

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 using this configuration that run concurrently on each instance.

Required: Yes

Type: Integer

Minimum: 1

Update requires: No interruption

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"

Required: Yes

Type: String

Minimum: 1

Maximum: 1024

Pattern: [A-Za-z0-9_:.+\/\\\- ]+

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

Pattern: [A-Za-z0-9_:.+\/\\\- =@;{},?'\[\]"]+

Update requires: No interruption

See also