Requests a description of a set of instances.
This call accepts only one resource-identifying parameter.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
opsworks_describe_instances(StackId, LayerId, InstanceIds)
A stack ID. If you use this parameter, DescribeInstances
returns
descriptions of the instances associated with the specified stack.
A layer ID. If you use this parameter, DescribeInstances
returns
descriptions of the instances associated with the specified layer.
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.
svc$describe_instances( StackId = "string", LayerId = "string", InstanceIds = list( "string" ) )