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

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

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

Overview

Note:

When passing ServerProcess as input to an Aws::Client method, you can use a vanilla 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)

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

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

    Location of the server executable in a game build.

#parametersString

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

Returns:

  • (String)

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