HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //lib/python2.7/site-packages/awscli/examples/ec2/describe-transit-gateway-vpc-attachments.rst
**To describe your transit gateway VPC attachments**

The following ``describe-transit-gateway-vpc-attachments`` example displays details for all of your transit gateway VPC attachments. ::

    aws ec2 describe-transit-gateway-vpc-attachments

Output::

    {
        "TransitGatewayVpcAttachments": [
            {
                "TransitGatewayAttachmentId": "tgw-attach-0a08e88308EXAMPLE",
                "TransitGatewayId": "tgw-0043d72bb4EXAMPLE",
                "VpcId": "vpc-0f501f7ee8EXAMPLE",
                "VpcOwnerId": "111122223333",
                "State": "available",
                "SubnetIds": [
                    "subnet-045d586432EXAMPLE",
                    "subnet-0a0ad478a6EXAMPLE"
                ],
                "CreationTime": "2019-02-13T11:04:02.000Z",
                "Options": {
                    "DnsSupport": "enable",
                    "Ipv6Support": "disable"
                },
                "Tags": [
                    {
                        "Key": "Name",
                        "Value": "attachment name"
                    }
                ]
            }
        ]
    }

For more information, see `View Your VPC Attachments <https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#view-vpc-attachment>`__ in the *AWS Transit Gateways*