CmdID

CmdID / aws / aws ec2

aws ec2 describe-client-vpn-routes

Describes the routes for the specified Client VPN endpoint. AWS CLI reference

1 example 5 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 describe the routes for a Client VPN endpoint

The following describe-client-vpn-routes example displays details about the routes for the specified Client VPN endpoint.

aws ec2 describe-client-vpn-routes --client-vpn-endpoint-id cvpn-endpoint-123456789abcabcdeIdentify
--client-vpn-endpoint-idThe ID of the Client VPN endpoint.
Its output
{
    "Routes": [
        {
            "ClientVpnEndpointId": "cvpn-endpoint-123456789abcabcde",
            "DestinationCidr": "10.0.0.0/16",
            "TargetSubnet": "subnet-0123456789abcabca",
            "Type": "Nat",
            "Origin": "associate",
            "Status": {
                "Code": "active"
            },
            "Description": "Default Route"
        },
        {
            "ClientVpnEndpointId": "cvpn-endpoint-123456789abcabcde",
            "DestinationCidr": "0.0.0.0/0",
            "TargetSubnet": "subnet-0123456789abcabca",
            "Type": "Nat",
            "Origin": "add-route",
            "Status": {
                "Code": "active"
            }
        }
    ]
}

For more information, see Routes in the AWS Client VPN Administrator Guide.

Options

5 in the AWS CLI reference
--client-vpn-endpoint-idThe ID of the Client VPN endpoint.
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--filtersOne or more filters.
--max-resultsThe maximum number of results to return for the request in a single page.
--next-tokenThe token to retrieve the next page of results.