Delete a connection
You can use the Developer Tools console or the delete-connection command in the AWS Command Line Interface (AWS CLI) to delete a connection.
Delete a connection (console)
To delete a connection
-
Open the Developer Tools console at https://console.aws.amazon.com/codesuite/settings/connections
. -
Choose Settings > Connections.
-
In Connection name, choose the name of the connection you want to delete.
-
Choose Delete.
-
Enter
delete
in the field to confirm, and then choose Delete.Important
This action cannot be undone.
Delete a connection (CLI)
You can use the AWS Command Line Interface (AWS CLI) to delete a connection.
To do this, use the delete-connection command.
Important
After you run the command, the connection is deleted. No confirmation dialog box is displayed. You can create a new connection, but the Amazon Resource Name (ARN) is never reused.
To delete a connection
-
Open a terminal (Linux, macOS, or Unix) or command prompt (Windows). Use the AWS CLI to run the delete-connection command, specifying the ARN of the connection that you want to delete.
aws codeconnections delete-connection --connection-arn arn:aws:codeconnections:us-west-2:
account_id
:connection/aEXAMPLE-8aad-4d5d-8878-dfcab0bc441fThis command returns nothing.