AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::OpsWorks::Types::DescribeInstancesRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribeInstancesRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  stack_id: "String",
  layer_id: "String",
  instance_ids: ["String"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idsArray<String>

An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.

Returns:

  • (Array<String>)

    An array of instance IDs to be described.

#layer_idString

A layer ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified layer.

Returns:

  • (String)

    A layer ID.

#stack_idString

A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack.

Returns:

  • (String)

    A stack ID.