Lists the targets for the target group¶
Description¶
Lists the targets for the target group. By default, all targets are included. You can use this API to check the health status of targets. You can also filter the results by target.
Usage¶
Arguments¶
targetGroupIdentifier
[required] The ID or ARN of the target group.
maxResults
The maximum number of results to return.
nextToken
A pagination token for the next page of results.
targets
The targets.
Value¶
A list with the following syntax:
list(
items = list(
list(
id = "string",
port = 123,
status = "DRAINING"|"UNAVAILABLE"|"HEALTHY"|"UNHEALTHY"|"INITIAL"|"UNUSED",
reasonCode = "string"
)
),
nextToken = "string"
)