Class ServerProcess
(experimental) Configuration of a fleet server process.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public class ServerProcess : Object, IServerProcess
Syntax (vb)
Public Class ServerProcess
Inherits Object
Implements IServerProcess
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift.Alpha;
var serverProcess = new ServerProcess {
LaunchPath = "launchPath",
// the properties below are optional
ConcurrentExecutions = 123,
Parameters = "parameters"
};
Synopsis
Constructors
ServerProcess() |
Properties
ConcurrentExecutions | (experimental) The number of server processes using this configuration that run concurrently on each instance. |
LaunchPath | (experimental) The location of a game build executable or the Realtime script file that contains the Init() function. |
Parameters | (experimental) An optional list of parameters to pass to the server executable or Realtime script on launch. |
Constructors
ServerProcess()
public ServerProcess()
Properties
ConcurrentExecutions
(experimental) The number of server processes using this configuration that run concurrently on each instance.
public Nullable<double> ConcurrentExecutions { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Minimum is 1
Default: 1
Stability: Experimental
LaunchPath
(experimental) The location of a game build executable or the Realtime script file that contains the Init() function.
public string LaunchPath { get; set; }
Property Value
System.String
Remarks
Game builds and Realtime scripts are installed on instances at the root:
Stability: Experimental
Parameters
(experimental) An optional list of parameters to pass to the server executable or Realtime script on launch.
public string Parameters { get; set; }
Property Value
System.String
Remarks
Default: no parameters
Stability: Experimental