Skip to content

Data Source: awsNetworkmanagerConnection

Retrieve information about a connection.

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.dataAwsNetworkmanagerConnection.DataAwsNetworkmanagerConnection(
  this,
  "example",
  {
    connectionId: "${var.connection_id}",
    globalNetworkId: "${var.global_network_id}",
  }
);

Argument Reference

  • globalNetworkId - (Required) ID of the Global Network of the connection to retrieve.
  • connectionId - (Required) ID of the specific connection to retrieve.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • arn - ARN of the connection.
  • connectedDeviceId - ID of the second device in the connection.
  • connectedLinkId - ID of the link for the second device.
  • description - Description of the connection.
  • deviceId - ID of the first device in the connection.
  • linkId - ID of the link for the first device.
  • tags - Key-value tags for the connection.