https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/ec2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/ec2/modify-transit-gateway-vpc-attachment.rst
**To modify a transit gateway VPC attachment**

The following ``modify-transit-gateway-vpc-attachment`` example adds a subnet to the specified transit gateway VPC attachment. ::

    aws ec2 modify-transit-gateway-vpc-attachment \
        --transit-gateway-attachment-id tgw-attach-09fbd47ddfEXAMPLE \
        --add-subnet-ids subnet-0e51f45802EXAMPLE

Output::

    {
        "TransitGatewayVpcAttachment": {
            "TransitGatewayAttachmentId": "tgw-attach-09fbd47ddfEXAMPLE",
            "TransitGatewayId": "tgw-0560315ccfEXAMPLE",
            "VpcId": "vpc-5eccc927",
            "VpcOwnerId": "111122223333",
            "State": "modifying",
            "SubnetIds": [
                "subnet-0e51f45802EXAMPLE",
                "subnet-1EXAMPLE"
            ],
            "CreationTime": "2019-08-08T16:47:38.000Z",
            "Options": {
                "DnsSupport": "enable",
                "Ipv6Support": "disable"
            }
        }
    } 

For more information, see `Transit gateway attachments to a VPC <https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html>`__ in the *Transit Gateways Guide*.

https://t.me/RX1948 - 2025