CmdID

CmdID / aws / aws directconnect

aws directconnect delete-direct-connect-gateway

Deletes the specified Direct Connect gateway. AWS CLI reference

1 example 1 option 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 delete a Direct Connect gateway

The following delete-direct-connect-gateway example deletes Direct Connect gateway 5f294f92-bafb-4011-916d-9b0bexample.

aws directconnect delete-direct-connect-gateway --direct-connect-gateway-id 5f294f92-bafb-4011-916d-9b0bexampleIdentify
--direct-connect-gateway-idThe ID of the Direct Connect gateway.
Its output
{
    "directConnectGateway": {
        "amazonSideAsn": 64512,
        "directConnectGatewayId": "5f294f92-bafb-4011-916d-9b0bexample",
        "ownerAccount": "123456789012",
        "directConnectGatewayName": "DxGateway1",
        "directConnectGatewayState": "deleting"
    }
}

For more information, see Delete a Direct Connect gateway in the AWS Direct Connect User Guide.

Options

1 in the AWS CLI reference
--direct-connect-gateway-idThe ID of the Direct Connect gateway.