Update an Amazon Direct Connect connection
You can update the following connection attribute using either the Amazon Direct Connect console or using the command line or API.
-
The name of the connection.
-
The connection's MACsec encryption mode.
Note
While you cannot directly modify MACSec properties on hosted connections, partners can enable MACSec on their own interconnects to provide secure hosted connections to their customers.
The valid values are:
-
should_encrypt -
must_encryptWhen you set the encryption mode to this value, the connection goes down when the encryption is down.
-
no_encrypt
-
To update a connection
Open the Amazon Direct Connect console at https://console.amazonaws.cn/directconnect/v2/home
. -
In the navigation pane, choose Connections.
-
Select the connection, and then choose Edit.
-
Modify the connection:
[Change the name] For Name, enter a new connection name.
[Add a tag] Choose Add tag and do the following:
-
For Key, enter the key name.
-
For Value, enter the key value.
[Remove a tag] Next to the tag, choose Remove tag.
-
-
Choose Edit connection.
To update a connection using the command line or API
-
update-connection (Amazon CLI)
-
UpdateConnection (Amazon Direct Connect API)