# ClientVpnTargetNetworkAssociationReference

A reference to a ClientVpnTargetNetworkAssociation resource.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as interfaces_ec2 } from 'aws-cdk-lib/interfaces';
const clientVpnTargetNetworkAssociationReference: interfaces_ec2.ClientVpnTargetNetworkAssociationReference = {
  associationId: 'associationId',
  clientVpnEndpointId: 'clientVpnEndpointId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_ec2 as interfaces_ec2

client_vpn_target_network_association_reference = interfaces_ec2.ClientVpnTargetNetworkAssociationReference(
    association_id="associationId",
    client_vpn_endpoint_id="clientVpnEndpointId"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ec2.*;

ClientVpnTargetNetworkAssociationReference clientVpnTargetNetworkAssociationReference = ClientVpnTargetNetworkAssociationReference.builder()
        .associationId("associationId")
        .clientVpnEndpointId("clientVpnEndpointId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.EC2;

var clientVpnTargetNetworkAssociationReference = new ClientVpnTargetNetworkAssociationReference {
    AssociationId = "associationId",
    ClientVpnEndpointId = "clientVpnEndpointId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

clientVpnTargetNetworkAssociationReference := &ClientVpnTargetNetworkAssociationReference{
	AssociationId: jsii.String("associationId"),
	ClientVpnEndpointId: jsii.String("clientVpnEndpointId"),
}
```

## Properties

- `associationId`: string (required) — The AssociationId of the ClientVpnTargetNetworkAssociation resource.

- `clientVpnEndpointId`: string (required) — The ClientVpnEndpointId of the ClientVpnTargetNetworkAssociation resource.
