UpdateConnectivityInfo
Source:
src/AWS/GreengrassV2/UpdateConnectivityInfo.ts
Runtime binding for greengrass:UpdateConnectivityInfo.
Replaces a core device’s connectivity information — the endpoints and
ports client devices use to reach the core’s local MQTT broker. Typically
driven by automation that knows the core’s current IP (e.g. reacting to a
DHCP change). The caller supplies the core device’s thing name and the new
endpoint list at runtime. Provide the implementation with
Effect.provide(AWS.GreengrassV2.UpdateConnectivityInfoHttp).
Managing Client Devices
Section titled “Managing Client Devices”// init — account-level binding, no resource argumentconst updateConnectivityInfo = yield* AWS.GreengrassV2.UpdateConnectivityInfo();
// runtimeyield* updateConnectivityInfo({ thingName: "MyCore", connectivityInfo: [ { id: "lan", hostAddress: "192.168.1.20", portNumber: 8883 }, ],});