1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ec2
  6. getClientVpnRoute

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource Type definition for AWS::EC2::ClientVpnRoute. Specifies a network route to add to a Client VPN endpoint. Each Client VPN endpoint has a route table that describes the available destination network routes. Each route in the route table specifies the path for traffic to specific resources or networks.

    Using getClientVpnRoute

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getClientVpnRoute(args: GetClientVpnRouteArgs, opts?: InvokeOptions): Promise<GetClientVpnRouteResult>
    function getClientVpnRouteOutput(args: GetClientVpnRouteOutputArgs, opts?: InvokeOutputOptions): Output<GetClientVpnRouteResult>
    def get_client_vpn_route(id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetClientVpnRouteResult
    def get_client_vpn_route_output(id: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOutputOptions] = None) -> Output[GetClientVpnRouteResult]
    func LookupClientVpnRoute(ctx *Context, args *LookupClientVpnRouteArgs, opts ...InvokeOption) (*LookupClientVpnRouteResult, error)
    func LookupClientVpnRouteOutput(ctx *Context, args *LookupClientVpnRouteOutputArgs, opts ...InvokeOption) LookupClientVpnRouteResultOutput

    > Note: This function is named LookupClientVpnRoute in the Go SDK.

    public static class GetClientVpnRoute 
    {
        public static Task<GetClientVpnRouteResult> InvokeAsync(GetClientVpnRouteArgs args, InvokeOptions? opts = null)
        public static Output<GetClientVpnRouteResult> Invoke(GetClientVpnRouteInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetClientVpnRouteResult> Invoke(GetClientVpnRouteInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetClientVpnRouteResult> getClientVpnRoute(GetClientVpnRouteArgs args, InvokeOptions options)
    public static Output<GetClientVpnRouteResult> getClientVpnRoute(GetClientVpnRouteArgs args, InvokeOptions options)
    public static Output<GetClientVpnRouteResult> getClientVpnRoute(GetClientVpnRouteArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getClientVpnRoute
      arguments:
        # arguments dictionary
    data "aws-native_ec2_get_client_vpn_route" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    Id string
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    id string
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    id String
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    id string
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    id str
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    id String
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.

    getClientVpnRoute Result

    The following output properties are available:

    Id string
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    Id string
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    id string
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    id String
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    id string
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    id str
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.
    id String
    The CloudFormation-generated identifier for this Client VPN route, derived from the logical resource id and client request token.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial