Skip to content
v2.278.0

LinkAssociationReference Struct ​

A reference to a LinkAssociation resource.

Example ​

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

deviceIdstringdevice_idstrdeviceIdStringDeviceIdstringDeviceId*string required #
The DeviceId of the LinkAssociation resource.
globalNetworkIdstringglobal_network_idstrglobalNetworkIdStringGlobalNetworkIdstringGlobalNetworkId*string required #
The GlobalNetworkId of the LinkAssociation resource.
linkIdstringlink_idstrlinkIdStringLinkIdstringLinkId*string required #
The LinkId of the LinkAssociation resource.