Creates a transit virtual interface. A transit virtual interface should be used to access one or more transit gateways associated with Direct Connect gateways. A transit virtual interface enables the connection of multiple VPCs attached to a transit gateway to a Direct Connect gateway.
directconnect_create_transit_virtual_interface(connectionId,
newTransitVirtualInterface)
[required] The ID of the connection.
[required] Information about the transit virtual interface.
svc$create_transit_virtual_interface( connectionId = "string", newTransitVirtualInterface = list( virtualInterfaceName = "string", vlan = 123, asn = 123, mtu = 123, authKey = "string", amazonAddress = "string", customerAddress = "string", addressFamily = "ipv4"|"ipv6", directConnectGatewayId = "string", tags = list( list( key = "string", value = "string" ) ) ) )
If you associate your transit gateway with one or more Direct Connect gateways, the Autonomous System Number (ASN) used by the transit gateway and the Direct Connect gateway must be different. For example, if you use the default ASN 64512 for both your the transit gateway and Direct Connect gateway, the association request fails.