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.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Note:

When making an API call, you may pass DescribeInstancesRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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>)


3073
3074
3075
3076
3077
3078
3079
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3073

class DescribeInstancesRequest < Struct.new(
  :stack_id,
  :layer_id,
  :instance_ids)
  SENSITIVE = []
  include Aws::Structure
end

#layer_idString

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

Returns:

  • (String)


3073
3074
3075
3076
3077
3078
3079
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3073

class DescribeInstancesRequest < Struct.new(
  :stack_id,
  :layer_id,
  :instance_ids)
  SENSITIVE = []
  include Aws::Structure
end

#stack_idString

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

Returns:

  • (String)


3073
3074
3075
3076
3077
3078
3079
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 3073

class DescribeInstancesRequest < Struct.new(
  :stack_id,
  :layer_id,
  :instance_ids)
  SENSITIVE = []
  include Aws::Structure
end