Skip to content
v2.278.0

NetworkMigrationDefinitionReference Struct ​

A reference to a NetworkMigrationDefinition resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

networkMigrationDefinitionArnstringnetwork_migration_definition_arnstrnetworkMigrationDefinitionArnStringNetworkMigrationDefinitionArnstringNetworkMigrationDefinitionArn*string required #
The Arn of the NetworkMigrationDefinition resource.