The Geek Stuff published 24 examples to manage AWS transit gateway and attachments from CLI.
24 Examples to Manage AWS Transit Gateway and Attachments from CLI
AWS Transit gateway acts as a hub to connect multiple VPC and on-prem networks. Apart from attaching a VPC to transit hub and routing traffic, you can also attach a VPN connection or Direct Connect gateway to your transit gateway. You can also peer two transit gateways and route traffic between them.
24 Examples to Manage AWS Transit Gateway and Attachments from CLI