CmdID / aws / aws networkmanager
aws networkmanager get-links
Gets information about one or more links in a specified global network. AWS CLI reference
1 example 7 options Its page in the AWS CLI reference
Examples
To get your links
The following get-links example gets the links in the specified global network.
aws networkmanager get-links --global-network-id global-network-01231231231231231Identify--global-network-idThe ID of the global network.Its output
{
"Links": [
{
"LinkId": "link-11112222aaaabbbb1",
"LinkArn": "arn:aws:networkmanager::123456789012:link/global-network-01231231231231231/link-11112222aaaabbbb1",
"GlobalNetworkId": "global-network-01231231231231231",
"SiteId": "site-444555aaabbb11223",
"Description": "VPN Link",
"Type": "broadband",
"Bandwidth": {
"UploadSpeed": 10,
"DownloadSpeed": 20
},
"Provider": "AnyCompany",
"CreatedAt": 1575555811.0,
"State": "AVAILABLE"
}
]
}For more information, see Sites and links in AWS Global Networks for Transit Gateways in the AWS Global Networks for Transit Gateways User Guide.
Options
--global-network-idThe ID of the global network.--link-idsOne or more link IDs.--max-resultsThe maximum number of results to return.--next-tokenThe token for the next page of results.--providerThe link provider.--site-idThe ID of the site.--typeThe link type.