Skip to content

TelemetryConfig

Source: src/AWS/ObservabilityAdmin/TelemetryConfig.ts

Account-level CloudWatch telemetry config (Observability Admin telemetry evaluation) — an account singleton that audits which AWS resources (VPCs, Lambda functions, …) have telemetry such as flow logs enabled.

This is an always-present account setting, not a discrete resource: deploying it onboards the account, and destroying it restores whatever onboarding state the account had before the stack first managed it.

Onboard the account

import * as ObservabilityAdmin from "alchemy/AWS/ObservabilityAdmin";
const telemetry = yield* ObservabilityAdmin.TelemetryConfig("Telemetry");

Keep the resource but switch the feature off

const telemetry = yield* ObservabilityAdmin.TelemetryConfig("Telemetry", {
enabled: false,
});