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

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. Each instruction set identifies the location of the server executable, 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.

Instance Attribute Summary collapse

Instance Attribute Details

#concurrent_executionsInteger

Number of server processes using this configuration to run concurrently on an instance.

Returns:

  • (Integer)


5254
5255
5256
5257
5258
5259
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5254

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

#launch_pathString

Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances C:\game, and for Linux instances /local/game. A Windows game build with an executable file located at MyGame\latest\server.exe must have a launch path of "C:\game\MyGame\latest\server.exe". A Linux game build with an executable file located at MyGame/latest/server.exe must have a launch path of "/local/game/MyGame/latest/server.exe".

Returns:

  • (String)


5254
5255
5256
5257
5258
5259
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5254

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

#parametersString

Optional list of parameters to pass to the server executable on launch.

Returns:

  • (String)


5254
5255
5256
5257
5258
5259
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5254

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