CmdID / aws / aws directconnect
aws directconnect describe-locations
Lists the Direct Connect locations in the current Amazon Web Services Region. AWS CLI reference
1 example Its page in the AWS CLI reference
Examples
To list AWS Direct Connect partners and locations
The following describe-locations example lists AWS Direct Connect partners and locations in the current region.
aws directconnect describe-locationsIdentifyIts output
{
"locations": [
{
"locationName": "NAP do Brasil, Barueri, Sao Paulo",
"locationCode": "TNDB"
},
{
"locationName": "Tivit - Site Transamerica (Sao Paulo)",
"locationCode": "TIVIT"
}
]
}For more information, see Requesting cross connects at Direct Connect locations in the AWS Direct Connect User Guide.