RuntimeConfiguration class

A collection of server process configurations that describe what processes to run on each instance in a fleet. Server processes run either a custom game build executable or a Realtime Servers script. Each instance in the fleet starts the specified server processes and continues to start new processes as existing processes end. Each instance regularly checks for an updated runtime configuration.

The runtime configuration enables the instances in a fleet to run multiple processes simultaneously. Learn more about Running Multiple Processes on a Fleet .

A Amazon GameLift instance is limited to 50 processes running simultaneously. To calculate the total number of processes in a runtime configuration, add the values of the ConcurrentExecutions parameter for each ServerProcess object.

Constructors

RuntimeConfiguration({int? gameSessionActivationTimeoutSeconds, int? maxConcurrentGameSessionActivations, List<ServerProcess>? serverProcesses})
RuntimeConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

gameSessionActivationTimeoutSeconds int?
The maximum amount of time (in seconds) that a game session can remain in status ACTIVATING. If the game session is not active before the timeout, activation is terminated and the game session status is changed to TERMINATED.
final
hashCode int
The hash code for this object.
no setterinherited
maxConcurrentGameSessionActivations int?
The maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously. This setting limits the amount of instance resources that can be used for new game activations at any one time.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverProcesses List<ServerProcess>?
A collection of server process configurations that describe which server processes to run on each instance in a fleet.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited