CmdID / aws / aws networkmanager
aws networkmanager update-link
Updates the details for an existing link. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To update a link
The following update-link example updates the bandwidth information for link link-11112222aaaabbbb1.
aws networkmanager update-link --global-network-id global-network-01231231231231231 --link-id link-11112222aaaabbbb1 --bandwidth UploadSpeed=20,DownloadSpeed=20Identify--global-network-idThe ID of the global network.--link-idThe ID of the link.--bandwidthThe upload and download speed in Mbps.Its output
{
"Link": {
"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": 20,
"DownloadSpeed": 20
},
"Provider": "AnyCompany",
"CreatedAt": 1575555811.0,
"State": "UPDATING"
}
}For more information, see Sites and links in AWS Global Networks for Transit Gateways in the Transit Gateway Network Manager Guide.
Options
--bandwidthThe upload and download speed in Mbps.--descriptionA description of the link.--global-network-idThe ID of the global network.--link-idThe ID of the link.--providerThe provider of the link.--typeThe type of the link.