@aws-cdk_aws-gamelift-alpha.ServerProcess

interface ServerProcess ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.GameLift.Alpha.ServerProcess
Gogithub.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#ServerProcess
Javasoftware.amazon.awscdk.services.gamelift.alpha.ServerProcess
Pythonaws_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

NameTypeDescription
launchPath๐Ÿ”นstringThe location of a game build executable or the Realtime script file that contains the Init() function.
concurrentExecutions?๐Ÿ”นnumberThe number of server processes using this configuration that run concurrently on each instance.
parameters?๐Ÿ”นstringAn 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.exe or /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.