CmdID / aws / aws globalaccelerator
aws globalaccelerator add-custom-routing-endpoints
Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To add a VPC subnet endpoint to an endpoint group for a custom routing accelerator
The following add-custom-routing-endpoints example adds a VPC subnet endpoint to an endpoint group for a custom routing accelerator.
aws globalaccelerator add-custom-routing-endpoints --endpoint-group-arn arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/listener/0123vxyz/endpoint-group/4321abcd --endpoint-configurations "EndpointId=subnet-1234567890abcdef0"Identify--endpoint-group-arnThe Amazon Resource Name (ARN) of the endpoint group for the custom routing endpoint.--endpoint-configurationsThe list of endpoint objects to add to a custom routing accelerator.Its output
{
"EndpointDescriptions": [
{
"EndpointId": "subnet-1234567890abcdef0"
}
],
"EndpointGroupArn":"arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/listener/0123vxyz/endpoint-group/4321abcd"
}For more information, see VPC subnet endpoints for custom routing accelerators in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
Options
--endpoint-configurationsThe list of endpoint objects to add to a custom routing accelerator.--endpoint-group-arnThe Amazon Resource Name (ARN) of the endpoint group for the custom routing endpoint.