DescribeAutoScalingInstances
In this article:
DescribeAutoScalingInstances#
Description#
Gets information about the instances in an Auto Scaling Group (ASG).
Request Parameters#
InstanceIds — List of instance IDs.
Type: Array of strings
Required: No
Maximum number of elements: 50
MaxRecords — The maximum number of instance records returned.
Type: Integer
Required: No
Default value:
50
Maximum value:
50
NextToken — NextToken returned by a previous call (see Response Elements).
Required: No
Type: String
Response Elements#
Instances — List of instances.
Type: List of AutoScalingInstance objects
NextToken — The token is returned only when the response cannot contain all the instances that meet the criteria. To retrieve further data, the returned value must be passed as a NextToken parameter in the same request.
Type: String
Examples#
c2-as DescribeAutoScalingInstances
c2-as DescribeAutoScalingInstances InstanceIds.1 "i-xxxxxxxx"
c2-as DescribeAutoScalingInstances MaxRecords 5 NextToken <next_token>