AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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: "LaunchPathStringModel", # required
      parameters: "LaunchParametersStringModel",
      concurrent_executions: 1, # required
    },
  ],
  max_concurrent_game_session_activations: 1,
  game_session_activation_timeout_seconds: 1,
}

A collection of server process configurations that describe the set of processes to run on each instance in a fleet. 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.

Related actions

DescribeRuntimeConfiguration | UpdateRuntimeConfiguration

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#game_session_activation_timeout_secondsInteger

The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready to host players. 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.

Returns:

  • (Integer)


8035
8036
8037
8038
8039
8040
8041
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 8035

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 number of game sessions in status ACTIVATING to allow on an instance. This setting limits the instance resources that can be used for new game activations at any one time.

Returns:

  • (Integer)


8035
8036
8037
8038
8039
8040
8041
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 8035

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 identify what server processes to run on each instance in a fleet.

Returns:



8035
8036
8037
8038
8039
8040
8041
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 8035

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