Skip to content

Data Source: awsDxConnection

Retrieve information about a Direct Connect 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.dataAwsDxConnection.DataAwsDxConnection(this, "example", {
  name: "tf-dx-connection",
});

Argument Reference

  • name - (Required) Name of the connection to retrieve.

Attributes Reference

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

  • arn - ARN of the connection.
  • awsDevice - Direct Connect endpoint on which the physical connection terminates.
  • bandwidth - Bandwidth of the connection.
  • id - ID of the connection.
  • location - AWS Direct Connect location where the connection is located.
  • ownerAccountId - ID of the AWS account that owns the connection.
  • providerName - Name of the service provider associated with the connection.
  • tags - Map of tags for the resource.
  • vlanId - The VLAN ID.