Interface ServerProcess
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServerProcess.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:49.839Z")
@Stability(Experimental)
public interface ServerProcess
extends software.amazon.jsii.JsiiSerializable
(experimental) 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 software.amazon.awscdk.services.gamelift.alpha.*;
ServerProcess serverProcess = ServerProcess.builder()
.launchPath("launchPath")
// the properties below are optional
.concurrentExecutions(123)
.parameters("parameters")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forServerProcessstatic final classAn implementation forServerProcess -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerProcess.Builderbuilder()default Number(experimental) The number of server processes using this configuration that run concurrently on each instance.(experimental) The location of a game build executable or the Realtime script file that contains the Init() function.default String(experimental) An optional list of parameters to pass to the server executable or Realtime script on launch.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLaunchPath
(experimental) 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
- Windows (custom game builds only):
-
getConcurrentExecutions
(experimental) The number of server processes using this configuration that run concurrently on each instance.Minimum is
1Default: 1
-
getParameters
(experimental) An optional list of parameters to pass to the server executable or Realtime script on launch.Default: no parameters
-
builder
- Returns:
- a
ServerProcess.BuilderofServerProcess
-