CmdID

CmdID / aws / aws networkmanager

aws networkmanager disassociate-customer-gateway

Disassociates a customer gateway from a device and a link. AWS CLI reference

1 example 2 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 disassociate a customer gateway

The following disassociate-customer-gateway example disassociates the specified customer gateway (cgw-11223344556677889) from the specified global network.

aws networkmanager disassociate-customer-gateway --global-network-id global-network-01231231231231231 --customer-gateway-arn arn:aws:ec2:us-west-2:123456789012:customer-gateway/cgw-11223344556677889Identify
--global-network-idThe ID of the global network.
--customer-gateway-arnThe Amazon Resource Name (ARN) of the customer gateway.
Its output
{
    "CustomerGatewayAssociation": {
        "CustomerGatewayArn": "arn:aws:ec2:us-west-2:123456789012:customer-gateway/cgw-11223344556677889",
        "GlobalNetworkId": "global-network-01231231231231231",
        "DeviceId": "device-07f6fd08867abc123",
        "State": "DELETING"
    }
}

For more information, see Gateway associations in AWS Global Networks for Transit Gateways in the Transit Gateway Network Manager Guide.

Options

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