ezgh lb targets register <target-group> (--network-interface <eni_…> | --private-ipv4 a) [--port p] [flags]Register a target: a private network interface in the group’s VPC, or a private address inside it. --port overrides the group’s. It starts initial, until health checks say otherwise.
Part of ezgh lb targets.
Examples
ezgh lb targets register tgp_7t3n1v8c2wzd --network-interface eni_7hq2m0x9ka3c
ezgh lb targets register tgp_7t3n1v8c2wzd --private-ipv4 10.0.2.40 --port 9000Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--network-interface |
string | a private network interface (eni_…) | |
--port |
int | its port (default the group’s) | |
--private-ipv4 |
string | a private address in the VPC |
This command also takes the global flags.