# LinkReference

A reference to a Link 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 linkReference: interfaces_networkmanager.LinkReference = {
  globalNetworkId: 'globalNetworkId',
  linkArn: 'linkArn',
  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_reference = interfaces_networkmanager.LinkReference(
    global_network_id="globalNetworkId",
    link_arn="linkArn",
    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.*;

LinkReference linkReference = LinkReference.builder()
        .globalNetworkId("globalNetworkId")
        .linkArn("linkArn")
        .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 linkReference = new LinkReference {
    GlobalNetworkId = "globalNetworkId",
    LinkArn = "linkArn",
    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"

linkReference := &LinkReference{
	GlobalNetworkId: jsii.String("globalNetworkId"),
	LinkArn: jsii.String("linkArn"),
	LinkId: jsii.String("linkId"),
}
```

## Properties

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

- `linkArn`: string (required) — The ARN of the Link resource.

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