Search code examples
amazon-web-servicesaws-cliamazon-workspaces

Aws cli command to get the list of instances detail from aws workspace


Aws cli command to get the list of instances detail from aws workspace like Workspace ID, IP Address, Subnet ID, Computer Name,Running Mode from aws cli?


Solution

  • If I understand correctly from your question, you want aws cli command to get the details of workspaces, then here is the command:

    aws workspaces describe-workspaces
    

    It will give you list of all workspaces with details such as username, workspaceId, IPAddress, Subnet Id etc. Hope this will help.