Class CfnFleet.ServerProcessProperty
A set of instructions for launching server processes on each instance in a fleet.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ServerProcessProperty : Object, CfnFleet.IServerProcessProperty
Syntax (vb)
Public Class ServerProcessProperty
Inherits Object
Implements CfnFleet.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
Constructors
ServerProcessProperty() |
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 Realtime script. |
Parameters | An optional list of parameters to pass to the server executable or Realtime script on launch. |
Constructors
ServerProcessProperty()
public ServerProcessProperty()
Properties
ConcurrentExecutions
The number of server processes using this configuration that run concurrently on each instance.
public double ConcurrentExecutions { get; set; }
Property Value
System.Double
Remarks
LaunchPath
The location of a game build executable or Realtime script.
public string LaunchPath { get; set; }
Property Value
System.String
Remarks
Game builds and Realtime scripts are installed on instances at the root:
Amazon GameLift 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.
public string Parameters { get; set; }
Property Value
System.String
Remarks
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern: [A-Za-z0-9_:.+/- =@{},?'[]"]+