steampipe plugin install aws

Table: aws_resource_explorer_index - Query AWS Resource Explorer Index using SQL

The AWS Resource Explorer Index is a tool within the AWS Management Console that allows you to view and navigate through all of your AWS resources. It provides a unified, searchable interface to find and manage all of your resources. This service enhances visibility and control over your AWS environment, ensuring you can easily locate, monitor, and manage your resources.

Table Usage Guide

The aws_resource_explorer_index table in Steampipe provides you with information about all resources across different AWS services. This table allows you, as a DevOps engineer, to query resource-specific details, including the resource type, ARN, region, and associated metadata. You can utilize this table to gather insights on resources, such as resource distribution across services, regions, and resource types. The schema outlines the various attributes of the resource, including the resource id, service, type, region, and account for you.

Examples

Basic info

Explore which resources are available in your AWS environment and where they are located. This can help in managing resources effectively and optimizing regional distribution.

select
arn,
region,
type
from
aws_resource_explorer_index;
select
arn,
region,
type
from
aws_resource_explorer_index;

Get the details for the aggregator index

Identify instances where the type of resource index in AWS is an aggregator. This can be useful to understand where and how these specific resource indexes are being utilized across different regions.

select
arn,
region,
type
from
aws_resource_explorer_index
where
type = 'AGGREGATOR';
select
arn,
region,
type
from
aws_resource_explorer_index
where
type = 'AGGREGATOR';

Schema for aws_resource_explorer_index

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
account_idtextThe AWS Account ID in which the resource is located.
arntextThe Amazon resource name (ARN) of the index.
partitiontextThe AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov).
regiontext=The AWS Region in which the index exists.
typetext=The type of index. It can be one of the following values: LOCAL, AGGREGATOR.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- aws

You can pass the configuration to the command with the --config argument:

steampipe_export_aws --config '<your_config>' aws_resource_explorer_index