RegisterInstance
Source:
src/AWS/CloudMap/RegisterInstance.ts
Runtime binding for servicediscovery:RegisterInstance — lets a
self-registering workload create or update its own Cloud Map instance
(an upsert on the instance ID).
The response carries an OperationId; registration completes
asynchronously on the Cloud Map side.
Registering Instances
Section titled “Registering Instances”const registerInstance = yield* AWS.CloudMap.RegisterInstance(service);
yield* registerInstance({ InstanceId: "worker-1", Attributes: { AWS_INSTANCE_IPV4: "10.0.1.10" },});