List EC2 instances

Returns a list of EC2 instances.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Query Params
int64

Limits the size of the response on each page to the specified number of items.

string

Sets the page number used to browse the collection. Pages are indexed starting from 1 (i.e., ?start=1).

string

Narrows down the results to only the items that satisfy the filter criteria. The following table lists the supported filter fields for this resource and the filter conditions that can be applied on those fields:

FieldFilter ConditionDescription
environment_id$eqThe Clumio-assigned ID of the AWS environment.
name$contains, $eqThe AWS-assigned name of this resource to conditionalize on. For example, ?filter={"name":{"$contains":"dev"}} retrieves all EC2 instances with "dev" in their name. ?filter={"name":{"$eq":"dev"}} retrieves only EC2 instances with names that exactly match "dev"
instance_native_id$eq, $containsThe AWS-assigned ID of the EC2 instance. For example, ?filter={"instance_native_id":{"$eq":"i-07aa02a849fe376d0"}} or ?filter={"instance_native_id":{"$contains":"2a849fe37"}} Both filter operations cannot be used simultaneously.
account_native_id$eqThe AWS-assigned ID of the AWS account. For example, ?filter={"account_native_id":{"$eq":"789901323485"}}
compliance_status$eq, inThe compliance status of the EC2 instance. Possible values include "compliant" and "non_compliant". ?filter={"compliance_status":{"$eq":"non_compliant"}}
protection_status$inThe protection status of the EC2 instance. Possible values include "protected", "unprotected", and "unsupported". For example, ?filter={"protection_status":{"$in":["protected"]}}
protection_info.policy_id$eqThe Clumio-assigned ID of the policy protecting this resource. ?filter={"protection_info.policy_id":{"$eq":"c764abb6-5819-16ea-bb9f-b2e1c9a040ad"}}
tags.id$allThe ID of the AWS tag applied to the EC2 instance. For example, ?filter={"tags.id":{"$all":["c764b152-5819-11ea-bb9f-b2e1c9a040ad","c764abb6-5819-11ea-bb9f-b2e1c9a040ad"]}}. If multiple tags are specified, all of them must be applied to the same EC2 instance.
is_deleted$eq,$inThe deletion status of the EC2 instance. Default value is "false". Set to "true" to retrieve deleted EC2 instance. For example, ?filter={"is_deleted":{"$eq":true}} ?filter={"is_deleted":{"$in":["true","false"]}}
availability_zone$eqThe AWS availability zone. For example, ?filter={"availability_zone":{"$eq":"us-east-1a"}}
For more information about filtering, refer to the Filtering section of this guide.

string

Embeds the details of each associated resource. Set the parameter to one of the following embeddable links to include additional details associated with each resource.

Embeddable LinkDescription
read-policy-definitionEmbeds the associated policy of a protected EC2 instance into the response. For example, ?embed=read-policy-definition
For more information about embedded links, refer to the Embedding Referenced Resources section of this guide.

int64

Calculate backup status for the last lookback_days days.

Responses

Response body
object
_embedded
object

Embedded responses related to the resource.

items
array of objects

A collection of requested items.

items
object
_embedded
object

Embedded responses related to the resource.

_links
object
string

The AWS-assigned ID of the account associated with the EC2 instance.

string

The AWS availability zone in which the EC2 instance resides. For example, us-west-2a.

string

Determines whether the EC2 instance has been deleted. If true, the instance has been deleted.

backup_status_info
object

The backup status information applied to this resource.

string

The compliance status of the protected EC2 instance. Possible values include "compliant" and "noncompliant". If the instance is not protected, then this field has a value of null.

string

The timestamp of when the instance was deleted. Represented in RFC-3339 format. If this instance has not been deleted, then this field has a value of null.

string

The Clumio-assigned ID of the policy directly assigned to the entity.

string

The Clumio-assigned ID of the AWS environment associated with the EC2 instance.

boolean

Determines whether the table has a direct assignment.

string

The Clumio-assigned ID of the EC2 instance.

string

The AWS-assigned ID of the EC2 instance.

boolean

Determines whether the EC2 instance has been deleted. If true, the instance has been deleted.

boolean

Determines whether the EC2 instance is supported for backups.

string

The timestamp of the most recent backup of the EC2 instance. Represented in RFC-3339 format. If the instance has never been backed up, then this field has a value of null.

string

The timestamp of the most recent snapshot of the EC2 instance taken as part of the EC2 Snapshot Manager. Represented in RFC-3339 format. If the instance has never been backed up, then this field has a value of null.

string

The AWS-assigned name of the EC2 instance.

string

The Clumio-assigned ID of the organizational unit associated with the EC2 instance.

protection_info
object

The protection policy applied to this resource. If the resource is not protected, then this field has a value of null.

string

The protection status of the EC2 instance. Possible values include "protected", "unprotected", and "unsupported". If the EC2 instance does not support backups, then this field has a value of unsupported. If the instance has been deleted, then this field has a value of null.

string

The state of the EC2 instance. Possible values include: pending, running, terminated, stopped, stopping, shutting-down, rebooting

string

The AWS Subnet ID of the EC2 instance

tags
array of objects

The AWS tags applied to the EC2 instance.

tags
object
string

The Clumio-assigned ID of the AWS tag.

string
required

The AWS-assigned tag key.

string

The Clumio-assigned ID of the AWS key.

string

The AWS-assigned tag value.

string

The AWS region associated with the EC2 instance. Possible instances types can be found in: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html

string

The reason why protection is not available. If the volume is supported, then this field has a value of null.

string

AWS-assigned ID of the VPC associated with the EC2 instance.

_links
object
int64

The number of items listed on the current page.

int64

The maximum number of items displayed per page in the response.

string

The page number used to get this response. Pages are indexed starting from 1 (i.e., "start": "1").

int64

The total number of items, summed across all pages.

int64

The total number of pages of results.

Language
Credentials
URL