DescribeElasticGpus - Amazon Elastic Compute Cloud



Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4, G5, or G6 instances.

Describes the Elastic Graphics accelerator associated with your instances.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.


Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No


The Elastic Graphics accelerator IDs.

Type: Array of strings

Required: No


The filters.

  • availability-zone - The Availability Zone in which the Elastic Graphics accelerator resides.

  • elastic-gpu-health - The status of the Elastic Graphics accelerator (OK | IMPAIRED).

  • elastic-gpu-state - The state of the Elastic Graphics accelerator (ATTACHED).

  • elastic-gpu-type - The type of Elastic Graphics accelerator; for example, eg1.medium.

  • instance-id - The ID of the instance to which the Elastic Graphics accelerator is associated.

Type: Array of Filter objects

Required: No


The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. This value can be between 5 and 1000.

Type: Integer

Valid Range: Minimum value of 10. Maximum value of 1000.

Required: No


The token to request the next page of results.

Type: String

Required: No

Response Elements

The following elements are returned by the service.


Information about the Elastic Graphics accelerators.

Type: Array of ElasticGpus objects


The total number of items to return. If the total number of items available is more than the value specified in max-items then a Next-Token will be provided in the output that you can use to resume pagination.

Type: Integer


The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String


The ID of the request.

Type: String


For information about the errors that are common to all actions, see Common client error codes.



This example describes all of the Elastic Graphics accelerators associated with your instances.

Sample Request &AUTHPARAMS

Sample Response

<DescribeElasticGpusResponse xmlns=""> <requestId>450268ba-0e1d-4401-958e-9a3example</requestId> <elasticGpuSet> <item> <elasticGpuId>egpu-0833fd743e7227123</elasticGpuId> <availabilityZone>us-east-1a</availabilityZone> <elasticGpuType>eg1.small</elasticGpuType> <elasticGpuHealth>OK</elasticGpuHealth> <elasticGpuState>ATTACHED</elasticGpuState> <instanceId>i-1234567890abc1234</instanceId> </item> </elasticGpuSet> </DescribeElasticGpusResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: