Class: Aws::GameLift::Types::ServerProcess

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 ServerProcess data as a hash:

{
  launch_path: "NonZeroAndMaxString", # required
  parameters: "NonZeroAndMaxString",
  concurrent_executions: 1, # required
}

A set of instructions for launching server processes on each instance in a fleet. Server processes run either a custom game build executable or a Realtime Servers script. Each instruction set identifies the location of the custom game build executable or Realtime launch script, optional launch parameters, and the number of server processes with this configuration to maintain concurrently on the instance. Server process configurations make up a fleet's RuntimeConfiguration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#concurrent_executionsInteger

The number of server processes that use this configuration to run concurrently on an instance.

Returns:

  • (Integer)


7868
7869
7870
7871
7872
7873
7874
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 7868

class ServerProcess < Struct.new(
  :launch_path,
  :parameters,
  :concurrent_executions)
  SENSITIVE = []
  include Aws::Structure
end

#launch_pathString

The location of the server executable in a custom game build or the name of the Realtime script file that contains the Init() function. Game builds and Realtime scripts are installed on instances at the root:

  • Windows (for custom game builds only): C:\game. Example: "C:\game\MyGame\server.exe"

  • Linux: /local/game. Examples: "/local/game/MyGame/server.exe" or "/local/game/MyRealtimeScript.js"

Returns:

  • (String)


7868
7869
7870
7871
7872
7873
7874
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 7868

class ServerProcess < Struct.new(
  :launch_path,
  :parameters,
  :concurrent_executions)
  SENSITIVE = []
  include Aws::Structure
end

#parametersString

An optional list of parameters to pass to the server executable or Realtime script on launch.

Returns:

  • (String)


7868
7869
7870
7871
7872
7873
7874
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 7868

class ServerProcess < Struct.new(
  :launch_path,
  :parameters,
  :concurrent_executions)
  SENSITIVE = []
  include Aws::Structure
end