Skip to content

Thing

Source: src/AWS/IoT/Thing.ts

An AWS IoT Thing — the cloud representation of a physical device.

Basic Thing

const thing = yield* Thing("sensor", {});

Thing with Attributes

const thing = yield* Thing("sensor", {
thingName: "temperature-sensor-01",
attributes: { location: "warehouse-a", model: "acme-t1000" },
});