Class CfnFleet.RuntimeConfigurationProperty
A collection of server process configurations that describe the set of processes to run on each instance in a fleet.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RuntimeConfigurationProperty : Object, CfnFleet.IRuntimeConfigurationProperty
Syntax (vb)
Public Class RuntimeConfigurationProperty
Inherits Object
Implements CfnFleet.IRuntimeConfigurationProperty
Remarks
Server processes run either an executable in a custom game build or a Realtime Servers script. GameLift launches the configured processes, manages their life cycle, and replaces them as needed. Each instance checks regularly for an updated runtime configuration.
A GameLift instance is limited to 50 processes running concurrently. To calculate the total number of processes in a runtime configuration, add the values of the ConcurrentExecutions
parameter for each ServerProcess. Learn more about Running Multiple Processes on a Fleet .
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 runtimeConfigurationProperty = new RuntimeConfigurationProperty {
GameSessionActivationTimeoutSeconds = 123,
MaxConcurrentGameSessionActivations = 123,
ServerProcesses = new [] { new ServerProcessProperty {
ConcurrentExecutions = 123,
LaunchPath = "launchPath",
// the properties below are optional
Parameters = "parameters"
} }
};
Synopsis
Constructors
RuntimeConfigurationProperty() |
Properties
GameSessionActivationTimeoutSeconds | The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready to host players. |
MaxConcurrentGameSessionActivations | The number of game sessions in status |
ServerProcesses | A collection of server process configurations that identify what server processes to run on fleet computes. |
Constructors
RuntimeConfigurationProperty()
public RuntimeConfigurationProperty()
Properties
GameSessionActivationTimeoutSeconds
The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready to host players.
public Nullable<double> GameSessionActivationTimeoutSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
During this time, the game session is in status ACTIVATING
. If the game session does not become active before the timeout, it is ended and the game session status is changed to TERMINATED
.
MaxConcurrentGameSessionActivations
The number of game sessions in status ACTIVATING
to allow on an instance or compute.
public Nullable<double> MaxConcurrentGameSessionActivations { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
This setting limits the instance resources that can be used for new game activations at any one time.
ServerProcesses
A collection of server process configurations that identify what server processes to run on fleet computes.
public object ServerProcesses { get; set; }
Property Value
System.Object