How to control the connection while uploading to AWS S3?

The documentation for azcopy shows that it can limit its own bandwidth usage:

--cap-mbps float Caps the transfer rate, in megabits per second. Moment-by-moment throughput might vary slightly from the cap. If this option is set to zero, or it is omitted, the throughput isn't capped.