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

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::ClientVpnTargetNetworkAssociation

    Using getClientVpnTargetNetworkAssociation

    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 getClientVpnTargetNetworkAssociation(args: GetClientVpnTargetNetworkAssociationArgs, opts?: InvokeOptions): Promise<GetClientVpnTargetNetworkAssociationResult>
    function getClientVpnTargetNetworkAssociationOutput(args: GetClientVpnTargetNetworkAssociationOutputArgs, opts?: InvokeOutputOptions): Output<GetClientVpnTargetNetworkAssociationResult>
    def get_client_vpn_target_network_association(association_id: Optional[str] = None,
                                                  client_vpn_endpoint_id: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetClientVpnTargetNetworkAssociationResult
    def get_client_vpn_target_network_association_output(association_id: pulumi.Input[Optional[str]] = None,
                                                  client_vpn_endpoint_id: pulumi.Input[Optional[str]] = None,
                                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetClientVpnTargetNetworkAssociationResult]
    func LookupClientVpnTargetNetworkAssociation(ctx *Context, args *LookupClientVpnTargetNetworkAssociationArgs, opts ...InvokeOption) (*LookupClientVpnTargetNetworkAssociationResult, error)
    func LookupClientVpnTargetNetworkAssociationOutput(ctx *Context, args *LookupClientVpnTargetNetworkAssociationOutputArgs, opts ...InvokeOption) LookupClientVpnTargetNetworkAssociationResultOutput

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

    public static class GetClientVpnTargetNetworkAssociation 
    {
        public static Task<GetClientVpnTargetNetworkAssociationResult> InvokeAsync(GetClientVpnTargetNetworkAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetClientVpnTargetNetworkAssociationResult> Invoke(GetClientVpnTargetNetworkAssociationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetClientVpnTargetNetworkAssociationResult> Invoke(GetClientVpnTargetNetworkAssociationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetClientVpnTargetNetworkAssociationResult> getClientVpnTargetNetworkAssociation(GetClientVpnTargetNetworkAssociationArgs args, InvokeOptions options)
    public static Output<GetClientVpnTargetNetworkAssociationResult> getClientVpnTargetNetworkAssociation(GetClientVpnTargetNetworkAssociationArgs args, InvokeOptions options)
    public static Output<GetClientVpnTargetNetworkAssociationResult> getClientVpnTargetNetworkAssociation(GetClientVpnTargetNetworkAssociationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getClientVpnTargetNetworkAssociation
      arguments:
        # arguments dictionary
    data "aws-native_ec2_get_client_vpn_target_network_association" "name" {
        # arguments
    }

    The following arguments are supported:

    AssociationId string
    The ID of the association between the Client VPN endpoint and the target network.
    ClientVpnEndpointId string
    The ID of the Client VPN endpoint.
    AssociationId string
    The ID of the association between the Client VPN endpoint and the target network.
    ClientVpnEndpointId string
    The ID of the Client VPN endpoint.
    association_id string
    The ID of the association between the Client VPN endpoint and the target network.
    client_vpn_endpoint_id string
    The ID of the Client VPN endpoint.
    associationId String
    The ID of the association between the Client VPN endpoint and the target network.
    clientVpnEndpointId String
    The ID of the Client VPN endpoint.
    associationId string
    The ID of the association between the Client VPN endpoint and the target network.
    clientVpnEndpointId string
    The ID of the Client VPN endpoint.
    association_id str
    The ID of the association between the Client VPN endpoint and the target network.
    client_vpn_endpoint_id str
    The ID of the Client VPN endpoint.
    associationId String
    The ID of the association between the Client VPN endpoint and the target network.
    clientVpnEndpointId String
    The ID of the Client VPN endpoint.

    getClientVpnTargetNetworkAssociation Result

    The following output properties are available:

    AssociationId string
    The ID of the association between the Client VPN endpoint and the target network.
    AssociationId string
    The ID of the association between the Client VPN endpoint and the target network.
    association_id string
    The ID of the association between the Client VPN endpoint and the target network.
    associationId String
    The ID of the association between the Client VPN endpoint and the target network.
    associationId string
    The ID of the association between the Client VPN endpoint and the target network.
    association_id str
    The ID of the association between the Client VPN endpoint and the target network.
    associationId String
    The ID of the association between the Client VPN endpoint and the target network.

    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