CmdID / aws / aws workspaces
aws workspaces update-connection-alias-permission
Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--alias-idThe identifier of the connection alias that you want to update permissions for.--connection-alias-permissionIndicates whether to share or unshare the connection alias with the specified Amazon Web Services account.