# NetworkMigrationDefinitionReference

A reference to a NetworkMigrationDefinition resource.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 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_mgn as interfaces_mgn } from 'aws-cdk-lib/interfaces';
const networkMigrationDefinitionReference: interfaces_mgn.NetworkMigrationDefinitionReference = {
  networkMigrationDefinitionArn: 'networkMigrationDefinitionArn',
};
```

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_mgn as interfaces_mgn

network_migration_definition_reference = interfaces_mgn.NetworkMigrationDefinitionReference(
    network_migration_definition_arn="networkMigrationDefinitionArn"
)
```

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

NetworkMigrationDefinitionReference networkMigrationDefinitionReference = NetworkMigrationDefinitionReference.builder()
        .networkMigrationDefinitionArn("networkMigrationDefinitionArn")
        .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.MGN;

var networkMigrationDefinitionReference = new NetworkMigrationDefinitionReference {
    NetworkMigrationDefinitionArn = "networkMigrationDefinitionArn"
};
```

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"

networkMigrationDefinitionReference := &NetworkMigrationDefinitionReference{
	NetworkMigrationDefinitionArn: jsii.String("networkMigrationDefinitionArn"),
}
```

## Properties

- `networkMigrationDefinitionArn`: string (required) — The Arn of the NetworkMigrationDefinition resource.
