CmdID / aws / aws globalaccelerator
aws globalaccelerator list-custom-routing-endpoint-groups
List the endpoint groups that are associated with a listener for a custom routing accelerator. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list endpoint groups for a listener in a custom routing accelerator
The following list-custom-routing-endpoint-groups example lists the endpoint groups for a listener in a custom routing accelerator.
aws globalaccelerator list-custom-routing-endpoint-groups --listener-arn arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/listener/abcdef1234Identify--listener-arnThe Amazon Resource Name (ARN) of the listener to list endpoint groups for.Its output
{
"EndpointGroups": [
{
"EndpointGroupArn": "arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/listener/abcdef1234/endpoint-group/ab88888example",
"EndpointGroupRegion": "us-west-2",
"DestinationDescriptions": [
{
"FromPort": 80,
"ToPort": 80,
"Protocols": [
"TCP",
"UDP"
]
}
],
"EndpointDescriptions": [
{
"EndpointId": "subnet-abcd123example"
}
]
}
]
}For more information, see Endpoint groups for custom routing accelerators in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
Options
--listener-arnThe Amazon Resource Name (ARN) of the listener to list endpoint groups for.--max-resultsThe number of endpoint group objects that you want to return with this call.--next-tokenThe token for the next set of results.