Skip to content

GetDataLakeSources

Source: src/AWS/SecurityLake/GetDataLakeSources.ts

Runtime binding for securitylake:GetDataLakeSources.

Returns a snapshot of which log sources are collecting (per account and source, with COLLECTING / MISCONFIGURED / NOT_COLLECTING statuses) so a monitoring Function can verify ingestion health. Bind the account’s DataLake. Provide the implementation with Effect.provide(AWS.SecurityLake.GetDataLakeSourcesHttp).

// init
const getSources = yield* AWS.SecurityLake.GetDataLakeSources(lake);
// runtime
const { dataLakeSources } = yield* getSources();