ezgh lb target-groups update <target-group> [--name n] [--description d] [--port p] [--proxy-protocol none|v2] [--health-check-…] [--tag k=v…] [--clear-tags] [flags]Change a target group. Only what’s given changes; --tag replaces all its tags, and --clear-tags removes them. A VPC doesn’t change.
Part of ezgh lb target-groups.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--clear-tags |
boolean | remove its tags | |
--deregistration-delay |
int | seconds a deregistered target’s connections may finish in, 0 to 3600 | |
--description |
string | a new description | |
--health-check-interval |
int | seconds between checks, 2 to 300 | |
--health-check-matcher |
string | an http or https check’s healthy status codes | |
--health-check-path |
string | an http or https check’s path | |
--health-check-port |
int | the port checks use | |
--health-check-protocol |
string | tcp, http or https | |
--health-check-target-port |
boolean | check each target on its own port again | |
--health-check-timeout |
int | seconds a check may take, 1 to 120, below the interval | |
--healthy-threshold |
int | passed checks before a target is healthy, 1 to 10 | |
--name |
string | a new name | |
--port |
int | the targets’ port, 1 to 65535 | |
--proxy-protocol |
string | none or v2: v2 passes the client’s address to targets that speak it | |
--tag |
string, repeatable | a tag, key=value; repeat for more | |
--unhealthy-threshold |
int | failed checks before a target is unhealthy, 1 to 10 |
This command also takes the global flags.