CmdID

CmdID / aws / aws networkmanager

aws networkmanager associate-customer-gateway

Associates a customer gateway with a device and optionally, with a link. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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-07f6fd08867abc123Identify
--customer-gateway-arnThe Amazon Resource Name (ARN) of the customer gateway.
--global-network-idThe ID of the global network.
--device-idThe ID of the device.
Its 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 Gateway associations in AWS Global Networks for Transit Gateways in the Transit Gateway Network Manager Guide.

Options

4 in the AWS CLI reference
--customer-gateway-arnThe Amazon Resource Name (ARN) of the customer gateway.
--device-idThe ID of the device.
--global-network-idThe ID of the global network.
--link-idThe ID of the link.