Class: Aws::GameLift::Types::GameServerInstance

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

Overview

This data type is used with the GameLift FleetIQ and game server groups.

Additional properties, including status, that describe an EC2 instance in a game server group. Instance configurations are set with game server group properties (see DescribeGameServerGroup and with the EC2 launch template that was used when creating the game server group.

Retrieve game server instances for a game server group by calling DescribeGameServerInstances.

Related actions

CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup | DescribeGameServerInstances | All APIs by task

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#game_server_group_arnString

A generated unique identifier for the game server group that includes the game server instance.

Returns:

  • (String)


5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5238

class GameServerInstance < Struct.new(
  :game_server_group_name,
  :game_server_group_arn,
  :instance_id,
  :instance_status)
  SENSITIVE = []
  include Aws::Structure
end

#game_server_group_nameString

A developer-defined identifier for the game server group that includes the game server instance. The name is unique for each Region in each Amazon Web Services account.

Returns:

  • (String)


5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5238

class GameServerInstance < Struct.new(
  :game_server_group_name,
  :game_server_group_arn,
  :instance_id,
  :instance_status)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The unique identifier for the instance where the game server is running. This ID is available in the instance metadata. EC2 instance IDs use a 17-character format, for example: i-1234567890abcdef0.

Returns:

  • (String)


5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5238

class GameServerInstance < Struct.new(
  :game_server_group_name,
  :game_server_group_arn,
  :instance_id,
  :instance_status)
  SENSITIVE = []
  include Aws::Structure
end

#instance_statusString

Current status of the game server instance.

  • ACTIVE -- The instance is viable for hosting game servers.

  • DRAINING -- The instance is not viable for hosting game servers. Existing game servers are in the process of ending, and new game servers are not started on this instance unless no other resources are available. When the instance is put in DRAINING, a new instance is started up to replace it. Once the instance has no UTILIZED game servers, it will be terminated in favor of the new instance.

  • SPOT_TERMINATING -- The instance is in the process of shutting down due to a Spot instance interruption. No new game servers are started on this instance.

Returns:

  • (String)


5238
5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5238

class GameServerInstance < Struct.new(
  :game_server_group_name,
  :game_server_group_arn,
  :instance_id,
  :instance_status)
  SENSITIVE = []
  include Aws::Structure
end