CmdID

CmdID / aws / aws globalaccelerator

aws globalaccelerator create-custom-routing-listener

Create a listener to process inbound connections from clients to 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 create a listener for a custom routing accelerator

The following create-custom-routing-listener example creates a listener with a port range from 5000 to 10000 for a custom routing accelerator.

aws globalaccelerator create-custom-routing-listener --accelerator-arn arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 --port-ranges FromPort=5000,ToPort=10000Identify
--accelerator-arnThe Amazon Resource Name (ARN) of the accelerator for a custom routing listener.
--port-rangesThe port range to support for connections from clients to your accelerator.
Its output
{
    "Listener": {
        "PortRanges": [
            {
                "FromPort": 5000,
                "ToPort": 10000
            }
        ],
        "ListenerArn": "arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/listener/0123vxyz"
    }
}

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 for a custom routing listener.
--idempotency-tokenA unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
--port-rangesThe port range to support for connections from clients to your accelerator.