Skip to content

Discovery

Source: src/AWS/ApplicationSignals/Discovery.ts

Enables CloudWatch Application Signals for this account by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role and the service-linked CloudTrail event channel used for change-event correlation (mirrors CloudFormation’s AWS::ApplicationSignals::Discovery).

StartDiscovery is idempotent, and AWS provides no API to disable discovery or observe its enablement, so this resource is provision-only: deleting it from the stack leaves discovery enabled (the delete is a no-op, matching CloudFormation’s behavior).

import * as AWS from "alchemy/AWS";
const discovery = yield* AWS.ApplicationSignals.Discovery("Discovery", {});