RegisterTargets
Source:
src/AWS/VpcLattice/RegisterTargets.ts
Runtime binding for the RegisterTargets operation (IAM action
vpc-lattice:RegisterTargets on the target group ARN).
Registers targets with the bound TargetGroup at runtime — the
self-registration data plane for workloads that join a lattice service
dynamically. Provide the implementation with
Effect.provide(AWS.VpcLattice.RegisterTargetsHttp).
Managing Targets at Runtime
Section titled “Managing Targets at Runtime”const registerTargets = yield* AWS.VpcLattice.RegisterTargets(targetGroup);
const { successful, unsuccessful } = yield* registerTargets({ targets: [{ id: "10.0.1.10", port: 80 }],});