import { _ServerProcess, _UnmarshalledServerProcess } from "./_ServerProcess"; /** *

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. An instance regularly checks for an updated run-time configuration.

The run-time 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 run-time configuration, add the values of the ConcurrentExecutions parameter for each ServerProcess object.

*/ export interface _RuntimeConfiguration { /** *

Collection of server process configurations that describe which server processes to run on each instance in a fleet.

*/ ServerProcesses?: Array<_ServerProcess> | Iterable<_ServerProcess>; /** *

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.

*/ MaxConcurrentGameSessionActivations?: number; /** *

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.

*/ GameSessionActivationTimeoutSeconds?: number; } export interface _UnmarshalledRuntimeConfiguration extends _RuntimeConfiguration { /** *

Collection of server process configurations that describe which server processes to run on each instance in a fleet.

*/ ServerProcesses?: Array<_UnmarshalledServerProcess>; }