CmdID

CmdID / aws / aws networkmanager

aws networkmanager deregister-transit-gateway

Deregisters a transit gateway from your global network. 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 deregister a transit gateway from a global network

The following deregister-transit-gateway example deregisters the specified transit gateway from the specified global network.

aws networkmanager deregister-transit-gateway --global-network-id global-network-01231231231231231 --transit-gateway-arn arn:aws:ec2:us-west-2:123456789012:transit-gateway/tgw-123abc05e04123abcIdentify
--global-network-idThe ID of the global network.
--transit-gateway-arnThe Amazon Resource Name (ARN) of the transit gateway.
Its output
{
    "TransitGatewayRegistration": {
        "GlobalNetworkId": "global-network-01231231231231231",
        "TransitGatewayArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway/tgw-123abc05e04123abc",
        "State": {
            "Code": "DELETING"
        }
    }
}

For more information, see Transit Gateway Registrations in the Transit Gateway Network Manager Guide.

Options

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