Retrieve information about a specific AWS Direct Connect location in the current AWS Region.
These are the locations that can be specified when configuring aws_dx_connection
or aws_dx_lag
resources.
data "aws_dx_location" "example" {
location_code = "CS32A-24FL"
}
location_code
- (Required) Code for the location to retrieve.This data source exports the following attributes in addition to the arguments above:
available_macsec_port_speeds
- The available MAC Security (MACsec) port speeds for the location.available_port_speeds
- The available port speeds for the location.available_providers
- Names of the service providers for the location.location_name
- Name of the location. This includes the name of the colocation partner and the physical site of the building.