Skip to content

Describe Auto Scaling Instances

autoscaling_describe_auto_scaling_instances R Documentation

Gets information about the Auto Scaling instances in the account and Region

Description

Gets information about the Auto Scaling instances in the account and Region.

Usage

autoscaling_describe_auto_scaling_instances(InstanceIds, MaxRecords,
  NextToken)

Arguments

InstanceIds

The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

Array Members: Maximum number of 50 items.

MaxRecords

The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.

NextToken

The token for the next set of items to return. (You received this token from a previous call.)

Value

A list with the following syntax:

list(
  AutoScalingInstances = list(
    list(
      InstanceId = "string",
      InstanceType = "string",
      AutoScalingGroupName = "string",
      AvailabilityZone = "string",
      LifecycleState = "string",
      HealthStatus = "string",
      LaunchConfigurationName = "string",
      LaunchTemplate = list(
        LaunchTemplateId = "string",
        LaunchTemplateName = "string",
        Version = "string"
      ),
      ProtectedFromScaleIn = TRUE|FALSE,
      WeightedCapacity = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_auto_scaling_instances(
  InstanceIds = list(
    "string"
  ),
  MaxRecords = 123,
  NextToken = "string"
)

Examples

## Not run: 
# This example describes the specified Auto Scaling instance.
svc$describe_auto_scaling_instances(
  InstanceIds = list(
    "i-05b4f7d5be44822a6"
  )
)

## End(Not run)