Skip to content

Gateway

Source: src/AWS/IoTSiteWise/Gateway.ts

An AWS IoT SiteWise gateway — the ingestion point that connects on-premises industrial data sources (e.g. OPC UA servers) to IoT SiteWise, hosted on an IoT Greengrass V2 core device or a Siemens Industrial Edge device.

The cloud-side gateway resource registers immediately; the edge software syncs to it asynchronously once the referenced core device is online (the device does not need to exist to create the gateway).

import * as AWS from "alchemy/AWS";
const gateway = yield* AWS.IoTSiteWise.Gateway("FactoryGateway", {
gatewayPlatform: {
greengrassV2: { coreDeviceThingName: "FactoryCoreDevice" },
},
});