Interface ServerProcess
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServerProcess.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:53.275Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forServerProcess
static final class
An implementation forServerProcess
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerProcess.Builder
builder()
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.exe
or/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
1
Default: 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.Builder
ofServerProcess
-