You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GameLift::Types::RuntimeConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RuntimeConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  server_processes: [
    {
      launch_path: "NonZeroAndMaxString", # required
      parameters: "NonZeroAndMaxString",
      concurrent_executions: 1, # required
    },
  ],
  max_concurrent_game_session_activations: 1,
  game_session_activation_timeout_seconds: 1,
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#game_session_activation_timeout_secondsInteger

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.

Returns:

  • (Integer)

    The maximum amount of time (in seconds) that a game session can remain in status ACTIVATING.

#max_concurrent_game_session_activationsInteger

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.

Returns:

  • (Integer)

    The maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously.

#server_processesArray<Types::ServerProcess>

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

Returns:

  • (Array<Types::ServerProcess>)

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