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.Lib.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
Concurrent |
The number of server processes using this configuration that run concurrently on each instance or compute. |
Launch |
The location of a game build executable or Realtime script. |
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 or compute.
double ConcurrentExecutions { get; }
Property Value
System.
Remarks
LaunchPath
The location of a game build executable or Realtime script.
string LaunchPath { get; }
Property Value
System.
Remarks
Game builds and Realtime scripts are installed on instances at the root:
Amazon GameLift Servers doesn't support the use of setup scripts that launch the game executable. For custom game builds, this parameter must indicate the executable that calls the server SDK operations <code>initSDK()</code> and <code>ProcessReady()</code> .
Parameters
An optional list of parameters to pass to the server executable or Realtime script on launch.
virtual string Parameters { get; }
Property Value
System.
Remarks
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern: [A-Za-z0-9_:.+/- =@{},?'[]"]+