Skip to content

Resource: awsNetworkmanagerLinkAssociation

Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.networkmanagerLinkAssociation.NetworkmanagerLinkAssociation(
  this,
  "example",
  {
    deviceId: "${aws_networkmanager_device.example.id}",
    globalNetworkId: "${aws_networkmanager_global_network.example.id}",
    linkId: "${aws_networkmanager_link.example.id}",
  }
);

Argument Reference

The following arguments are supported:

  • deviceId - (Required) The ID of the device.
  • globalNetworkId - (Required) The ID of the global network.
  • linkId - (Required) The ID of the link.

Attributes Reference

No additional attributes are exported.

Import

awsNetworkmanagerLinkAssociation can be imported using the global network ID, link ID and device ID, e.g.

$ terraform import aws_networkmanager_link_association.example global-network-0d47f6t230mz46dy4,link-444555aaabbb11223,device-07f6fd08867abc123