interface ServerProcess
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.GameLift.Alpha.ServerProcess |
Go | github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#ServerProcess |
Java | software.amazon.awscdk.services.gamelift.alpha.ServerProcess |
Python | aws_cdk.aws_gamelift_alpha.ServerProcess |
TypeScript (source) | @aws-cdk/aws-gamelift-alpha ยป ServerProcess |
Configuration of a fleet server process.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';
const serverProcess: gamelift_alpha.ServerProcess = {
launchPath: 'launchPath',
// the properties below are optional
concurrentExecutions: 123,
parameters: 'parameters',
};
Properties
| Name | Type | Description |
|---|---|---|
| launch | string | The location of a game build executable or the Realtime script file that contains the Init() function. |
| concurrent | number | The number of server processes using this configuration that run concurrently on each instance. |
| parameters? | string | An optional list of parameters to pass to the server executable or Realtime script on launch. |
launchPath
Type:
string
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.exeor/local/game/MyRealtimeScript.js
concurrentExecutions?
Type:
number
(optional, default: 1)
The number of server processes using this configuration that run concurrently on each instance.
Minimum is 1
parameters?
Type:
string
(optional, default: no parameters)
An optional list of parameters to pass to the server executable or Realtime script on launch.

.NET
Go
Java
Python
TypeScript (