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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb

Overview

Note:

When making an API call, you may pass RuntimeConfiguration data as a 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.

  • CreateFleet

  • ListFleets

  • DeleteFleet

  • DescribeFleetAttributes

  • UpdateFleetAttributes

  • StartFleetActions or StopFleetActions

Constant Summary collapse

SENSITIVE =
[]

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)


7430
7431
7432
7433
7434
7435
7436
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 7430

class RuntimeConfiguration < Struct.new(
  :server_processes,
  :max_concurrent_game_session_activations,
  :game_session_activation_timeout_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#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)


7430
7431
7432
7433
7434
7435
7436
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 7430

class RuntimeConfiguration < Struct.new(
  :server_processes,
  :max_concurrent_game_session_activations,
  :game_session_activation_timeout_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#server_processesArray<Types::ServerProcess>

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

Returns:



7430
7431
7432
7433
7434
7435
7436
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 7430

class RuntimeConfiguration < Struct.new(
  :server_processes,
  :max_concurrent_game_session_activations,
  :game_session_activation_timeout_seconds)
  SENSITIVE = []
  include Aws::Structure
end