Skip to content

ListCoreDevices

Source: src/AWS/GreengrassV2/ListCoreDevices.ts

Runtime binding for greengrass:ListCoreDevices.

Enumerates the account’s Greengrass core devices, optionally filtered by status (HEALTHY / UNHEALTHY), thing group, or nucleus runtime — the entry point for fleet-health dashboards. Provide the implementation with Effect.provide(AWS.GreengrassV2.ListCoreDevicesHttp).

// init — account-level binding, no resource argument
const listCoreDevices = yield* AWS.GreengrassV2.ListCoreDevices();
// runtime
const { coreDevices } = yield* listCoreDevices({ status: "UNHEALTHY" });