Skip to content

Data Source: awsDxLocation

Retrieve information about a specific AWS Direct Connect location in the current AWS Region. These are the locations that can be specified when configuring awsDxConnection or awsDxLag resources.

\~> Note: This data source is different from the awsDxLocations data source which retrieves information about all the AWS Direct Connect locations in the current AWS Region.

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.dataAwsDxLocation.DataAwsDxLocation(this, "example", {
  locationCode: "CS32A-24FL",
});

Argument Reference

  • locationCode - (Required) Code for the location to retrieve.

Attributes Reference

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

  • availableMacsecPortSpeeds - The available MAC Security (MACsec) port speeds for the location.
  • availablePortSpeeds - The available port speeds for the location.
  • availableProviders - Names of the service providers for the location.
  • locationName - Name of the location. This includes the name of the colocation partner and the physical site of the building.