Graph
Source:
src/AWS/Detective/Graph.ts
A Detective behavior graph — the account/region singleton that enables Amazon
Detective. An account can have at most one behavior graph per region, so this
resource is a capture-and-restore singleton: adopting a pre-existing graph
that Alchemy did not create requires --adopt.
Enabling Detective
Section titled “Enabling Detective”Enable a behavior graph
const graph = yield* Detective.Graph("Graph", {});Enable with tags
const graph = yield* Detective.Graph("Graph", { tags: { team: "security" },});