CmdID

CmdID / aws / aws cloudfront

aws cloudfront get-connection-group-by-routing-endpoint

Gets information about a connection group by using the endpoint that you specify. AWS CLI reference

1 example 1 option 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 get a connection group by routing endpoint

The following get-connection-group-by-routing-endpoint example retrieves information about a connection group using its routing endpoint.

aws cloudfront get-connection-group-by-routing-endpoint --routing-endpoint dvdg9gprgabc.cloudfront.netIdentify
--routing-endpointThe routing endpoint for the target connection group, such as d111111abcdef8.cloudfront.net.
Its output
{
    "ETag": "E23ZP02F085ABC",
    "ConnectionGroup": {
        "Id": "cg_2wjDWTBKTlRB87cAaUQFaakABC",
        "Name": "connection-group-2",
        "Arn": "arn:aws:cloudfront::123456789012:connection-group/cg_2wjDWTBKTlRB87cAaUQFaakABC",
        "CreatedTime": "2025-05-06T15:42:00.790000+00:00",
        "LastModifiedTime": "2025-05-06T15:42:00.790000+00:00",
        "Ipv6Enabled": true,
        "RoutingEndpoint": "dvdg9gprgabc.cloudfront.net",
        "Status": "Deployed",
        "Enabled": true,
        "IsDefault": false
    }
}

For more information, see Create custom connection group (optional) in the Amazon CloudFront Developer Guide.

Options

1 in the AWS CLI reference
--routing-endpointThe routing endpoint for the target connection group, such as d111111abcdef8.cloudfront.net.