HEX
Server: Apache
System: Linux vps28526 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
User: heewonvps_17 (6705002)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/directconnect/confirm-transit-virtual-interface.rst
**To accept ownership of a transit virtual interface**

The following ``confirm-transit-virtual-interface`` accepts ownership of a transit virtual interface created by another customer. ::

    aws directconnect confirm-transit-virtual-interface \
        --virtual-interface-id dxvif-fEXAMPLE \
        --direct-connect-gateway-id 4112ccf9-25e9-4111-8237-b6c5dEXAMPLE

Output::

    {
        "virtualInterfaceState": "pending"
    }

For more information, see `Accepting a Hosted Virtual Interface <https://docs.aws.amazon.com/directconnect/latest/UserGuide/accepthostedvirtualinterface.html>`__ in the *AWS Direct Connect User Guide*.