CmdID / aws / aws globalaccelerator
aws globalaccelerator create-custom-routing-endpoint-group
Create an endpoint group for the specified listener for a custom routing accelerator. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To create an endpoint group for a custom routing accelerator
The following create-custom-routing-endpoint-group example creates an endpoint group for a custom routing accelerator.
aws globalaccelerator create-custom-routing-endpoint-group --listener-arn arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/listener/0123vxyz --endpoint-group-region us-west-2 --destination-configurations "FromPort=80,ToPort=81,Protocols=TCP,UDP"Identify--listener-arnThe Amazon Resource Name (ARN) of the listener for a custom routing endpoint.--endpoint-group-regionThe Amazon Web Services Region where the endpoint group is located.--destination-configurationsSets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.Its output
{
"EndpointGroup": {
"EndpointGroupArn": "arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/listener/0123vxyz/endpoint-group/4321abcd",
"EndpointGroupRegion": "us-west-2",
"DestinationDescriptions": [
{
"FromPort": 80,
"ToPort": 81,
"Protocols": [
"TCP",
"UDP"
]
}
],
"EndpointDescriptions": []
}
}For more information, see Endpoint groups for custom routing accelerators in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
Options
--destination-configurationsSets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.--endpoint-group-regionThe Amazon Web Services Region where the endpoint group is located.--idempotency-tokenA unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.--listener-arnThe Amazon Resource Name (ARN) of the listener for a custom routing endpoint.