aws.gamelift.describe_game_server_instances
Example SQL Queries
SELECT * FROMaws.gamelift.describe_game_server_instancesWHERE"game_server_group_name" = 'VALUE';Description
This operation is used with the Amazon GameLift FleetIQ solution and game server groups.
Retrieves status information about the Amazon EC2 instances associated with a Amazon GameLift FleetIQ game server group. Use this operation to detect when instances are active or not available to host new game servers.
To request status for all instances in the game server group, provide a game server group ID only. To request status for specific instances, provide the game server group ID and one or more instance IDs. Use the pagination parameters to retrieve results in sequential segments. If successful, a collection of GameServerInstance objects is returned.
This operation is not designed to be called with every game server claim request; this practice can cause you to exceed your API limit, which results in errors. Instead, as a best practice, cache the results and refresh your cache no more than once every 10 seconds.
Learn more
Table Definition
| Column Name | Column Data Type |
|---|---|
| game_server_group_name Required Input Column 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. | VARCHAR |
| instance_ids Input Column The Amazon EC2 instance IDs that you want to retrieve status on. Amazon EC2 instance IDs use a 17-character format, for example: i-1234567890abcdef0. To retrieve all instances in the game server group, leave this parameter empty. | VARCHAR[] |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| game_server_group_arn A generated unique identifier for the game server group that includes the game server instance. | VARCHAR |
| instance_id 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. | VARCHAR |
| instance_status Current status of the game server instance | VARCHAR |