Skip to content

EventSourcesConfig

Source: src/AWS/DevOpsGuru/EventSourcesConfig.ts

The DevOps Guru event sources configuration — the account/region singleton that controls which integrated services DevOps Guru consumes recommendations from as event sources. The one supported source is Amazon CodeGuru Profiler: when enabled, profiler recommendations surface as DevOps Guru proactive insights.

An account has exactly one configuration, so this resource is a capture-and-restore singleton: adopting an enabled configuration that Alchemy did not create requires --adopt. Destroying the resource restores the default (disabled).

const eventSources = yield* DevOpsGuru.EventSourcesConfig("EventSources", {
amazonCodeGuruProfiler: true,
});