aws.gamelift.describe_instances
Example SQL Queries
SELECT * FROMaws.gamelift.describe_instancesWHERE"fleet_id" = 'VALUE';Description
Retrieves information about the EC2 instances in an Amazon GameLift managed fleet, including instance ID, connection data, and status. You can use this operation with a multi-location fleet to get location-specific instance information. As an alternative, use the operations ListCompute and DescribeCompute to retrieve information for compute resources, including EC2 and Anywhere fleets.
You can call this operation in the following ways:
To get information on all instances in a fleet's home Region, specify the fleet ID.
To get information on all instances in a fleet's remote location, specify the fleet ID and location name.
To get information on a specific instance in a fleet, specify the fleet ID and instance ID.
Use the pagination parameters to retrieve results as a set of sequential pages.
If successful, this operation returns Instance objects for each requested instance, listed in no particular order. If you call this operation for an Anywhere fleet, you receive an InvalidRequestException.
Learn more
Remotely connect to fleet instances
Related actions
Table Definition
| Column Name | Column Data Type |
|---|---|
| fleet_id Required Input Column A unique identifier for the fleet that the instance belongs to. | VARCHAR |
| instance_id Input Column A unique identifier for the instance. | VARCHAR |
| location Input Column The fleet location of the instance, expressed as an Amazon Web Services Region code, such as us-west-2. | VARCHAR |
| _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 |
| creation_time A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). | TIMESTAMP_S |
| dns_name The DNS identifier assigned to the instance that is running the game session. Values have the following format:
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address. | VARCHAR |
| fleet_arn The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. | VARCHAR |
| ip_address IP address that is assigned to the instance. | VARCHAR |
| operating_system Operating system that is running on this EC2 instance. | VARCHAR |
| status Current status of the instance. Possible statuses include the following:
| VARCHAR |
| type EC2 instance type that defines the computing resources of this instance. | VARCHAR |