aws-cdk-lib.aws_gamelift.CfnFleet.ServerProcessProperty

interface ServerProcessProperty

LanguageType name
.NETAmazon.CDK.AWS.GameLift.CfnFleet.ServerProcessProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgamelift#CfnFleet_ServerProcessProperty
Javasoftware.amazon.awscdk.services.gamelift.CfnFleet.ServerProcessProperty
Pythonaws_cdk.aws_gamelift.CfnFleet.ServerProcessProperty
TypeScript aws-cdk-lib » aws_gamelift » CfnFleet » ServerProcessProperty

A set of instructions for launching server processes on each instance in a fleet.

Server processes run either an executable in a custom game build or a Realtime Servers script.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from 'aws-cdk-lib';
const serverProcessProperty: gamelift.CfnFleet.ServerProcessProperty = {
  concurrentExecutions: 123,
  launchPath: 'launchPath',

  // the properties below are optional
  parameters: 'parameters',
};

Properties

NameTypeDescription
concurrentExecutionsnumberThe number of server processes using this configuration that run concurrently on each instance.
launchPathstringThe location of a game build executable or the Realtime script file that contains the Init() function.
parameters?stringAn optional list of parameters to pass to the server executable or Realtime script on launch.

concurrentExecutions

Type: number

The number of server processes using this configuration that run concurrently on each instance.


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 "

parameters?

Type: string (optional)

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