CmdID / aws / aws directconnect
aws directconnect describe-interconnects
Lists the interconnects owned by the Amazon Web Services account or only the specified interconnect. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list interconnects
The following describe-interconnects example lists the interconnects owned by your AWS account.
aws directconnect describe-interconnectsIdentifyIts output
{
"interconnects": [
{
"region": "us-west-2",
"bandwidth": "1Gbps",
"location": "TIVIT",
"interconnectName": "1G Interconnect to AWS",
"interconnectId": "dxcon-fgktov66",
"interconnectState": "down"
}
]
}For more information, see Direct Connect dedicated and hosted connections in the AWS Direct Connect User Guide.
Options
--interconnect-idThe ID of the interconnect.--max-resultsThe maximum number of results to return with a single call.--next-tokenThe token for the next page of results.