Skip to content

Describe Fleet Instances

ec2_describe_fleet_instances R Documentation

Describes the running instances for the specified EC2 Fleet

Description

Describes the running instances for the specified EC2 Fleet.

Currently, describe_fleet_instances does not support fleets of type instant. Instead, use describe_fleets, specifying the instant fleet ID in the request.

For more information, see Describe your EC2 Fleet in the Amazon EC2 User Guide.

Usage

ec2_describe_fleet_instances(DryRun, MaxResults, NextToken, FleetId,
  Filters)

Arguments

DryRun

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.

MaxResults

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

NextToken

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

FleetId

[required] The ID of the EC2 Fleet.

Filters

The filters.

  • instance-type - The instance type.

Value

A list with the following syntax:

list(
  ActiveInstances = list(
    list(
      InstanceId = "string",
      InstanceType = "string",
      SpotInstanceRequestId = "string",
      InstanceHealth = "healthy"|"unhealthy"
    )
  ),
  NextToken = "string",
  FleetId = "string"
)

Request syntax

svc$describe_fleet_instances(
  DryRun = TRUE|FALSE,
  MaxResults = 123,
  NextToken = "string",
  FleetId = "string",
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  )
)