CmdID

CmdID / aws / aws globalaccelerator

aws globalaccelerator list-custom-routing-listeners

List the listeners for a custom routing accelerator. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list listeners for custom routing accelerators

The following list-custom-routing-listeners example lists the listeners for a custom routing accelerator.

aws globalaccelerator list-custom-routing-listeners --accelerator-arn arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify
--accelerator-arnThe Amazon Resource Name (ARN) of the accelerator to list listeners for.
Its output
{
    "Listeners": [
        {
            "ListenerArn": "arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/listener/abcdef1234",
            "PortRanges": [
                {
                    "FromPort": 5000,
                    "ToPort": 10000
                }
            ]
        }
    ]
}

For more information, see Listeners for custom routing accelerators in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.

Options

3 in the AWS CLI reference
--accelerator-arnThe Amazon Resource Name (ARN) of the accelerator to list listeners for.
--max-resultsThe number of listener objects that you want to return with this call.
--next-tokenThe token for the next set of results.