Interface CfnFleet.IServerProcessProperty
A set of instructions for launching server processes on each instance in a fleet.
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.AWS.GameLift.dll
Syntax (csharp)
public interface IServerProcessProperty
Syntax (vb)
Public Interface IServerProcessProperty
Remarks
Server processes run either an executable in a custom game build or a Realtime Servers script.
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;
var serverProcessProperty = new ServerProcessProperty {
ConcurrentExecutions = 123,
LaunchPath = "launchPath",
// the properties below are optional
Parameters = "parameters"
};
Synopsis
Properties
ConcurrentExecutions | The number of server processes using this configuration that run concurrently on each instance. |
LaunchPath | The location of a game build executable or the Realtime script file that contains the |
Parameters | An optional list of parameters to pass to the server executable or Realtime script on launch. |
Properties
ConcurrentExecutions
The number of server processes using this configuration that run concurrently on each instance.
double ConcurrentExecutions { get; }
Property Value
System.Double
Remarks
LaunchPath
The location of a game build executable or the Realtime script file that contains the Init()
function.
string LaunchPath { get; }
Property Value
System.String
Remarks
Game builds and Realtime scripts are installed on instances at the root:
Parameters
An optional list of parameters to pass to the server executable or Realtime script on launch.
virtual string Parameters { get; }
Property Value
System.String