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/networkmanager/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/networkmanager/associate-customer-gateway.rst
**To associate a customer gateway**

The following ``associate-customer-gateway`` example associates customer gateway ``cgw-11223344556677889`` in the specified global network with device ``device-07f6fd08867abc123``. ::

    aws networkmanager associate-customer-gateway \
        --customer-gateway-arn arn:aws:ec2:us-west-2:123456789012:customer-gateway/cgw-11223344556677889  \
        --global-network-id global-network-01231231231231231 \
        --device-id device-07f6fd08867abc123 \
        --region us-west-2

Output::

    {
        "CustomerGatewayAssociation": {
            "CustomerGatewayArn": "arn:aws:ec2:us-west-2:123456789012:customer-gateway/cgw-11223344556677889",
            "GlobalNetworkId": "global-network-01231231231231231",
            "DeviceId": "device-07f6fd08867abc123",
            "State": "PENDING"
        }
    }

For more information, see `Customer Gateway Associations <https://docs.aws.amazon.com/vpc/latest/tgw/on-premises-networks.html#cgw-association>`__ in the *Transit Gateway Network Manager Guide*.

https://t.me/RX1948 - 2025