there multiple scenario to connect transit gateway like as mentioned below. multiple VPCon-premises site to site vpn.between transit gateway peering.customer gatway.third part appliance gateway.