# LinkAssociationReference

A reference to a LinkAssociation resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as interfaces_networkmanager } from 'aws-cdk-lib/interfaces';
const linkAssociationReference: interfaces_networkmanager.LinkAssociationReference = {
  deviceId: 'deviceId',
  globalNetworkId: 'globalNetworkId',
  linkId: 'linkId',
};
```

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_networkmanager as interfaces_networkmanager

link_association_reference = interfaces_networkmanager.LinkAssociationReference(
    device_id="deviceId",
    global_network_id="globalNetworkId",
    link_id="linkId"
)
```

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.networkmanager.*;

LinkAssociationReference linkAssociationReference = LinkAssociationReference.builder()
        .deviceId("deviceId")
        .globalNetworkId("globalNetworkId")
        .linkId("linkId")
        .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.NetworkManager;

var linkAssociationReference = new LinkAssociationReference {
    DeviceId = "deviceId",
    GlobalNetworkId = "globalNetworkId",
    LinkId = "linkId"
};
```

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"

linkAssociationReference := &LinkAssociationReference{
	DeviceId: jsii.String("deviceId"),
	GlobalNetworkId: jsii.String("globalNetworkId"),
	LinkId: jsii.String("linkId"),
}
```

## Properties

- `deviceId`: string (required) — The DeviceId of the LinkAssociation resource.

- `globalNetworkId`: string (required) — The GlobalNetworkId of the LinkAssociation resource.

- `linkId`: string (required) — The LinkId of the LinkAssociation resource.
