Index
Source:
src/AWS/ResourceExplorer/ExplorerIndex.ts
An AWS Resource Explorer index — the region singleton that turns on resource indexing so resources in the region can be searched.
Only one index can exist per region, so this is a capture-and-restore
singleton: adopting an index that Alchemy did not create requires
--adopt (ownership is tracked through the index’s tags), and destroy
turns Resource Explorer off for the region (deleting every view in it).
The first index created in an account also creates the
AWSServiceRoleForResourceExplorer service-linked role.
Turning on Resource Explorer
Section titled “Turning on Resource Explorer”Local index
const index = yield* AWS.ResourceExplorer.Index("Index", {});Aggregator index for cross-region search
const index = yield* AWS.ResourceExplorer.Index("Index", { type: "AGGREGATOR",});Searching
Section titled “Searching”Search always goes through a view — see AWS.ResourceExplorer.View and
the AWS.ResourceExplorer.Search binding.