2 Answers
0
It is not possible to filter by state using the AWS Console however this can be achieved with the AWS CLI and the jq library
aws workspaces describe-workspaces | jq '.Workspaces[] | select(.State == "UNHEALTHY")'
answered 4 months ago
0
You can sort the console output by Status, but you cannot filter by it. As suggested, the best way to get this information is via the CLI or API. In PowerShell it would be
Get-WKSWorkspace | Where-Oject {$_.State -like "Unhealthy"}
and in python it would be something like
import boto3
client = boto3.client('workspaces')
wks = client.describe_workspaces()
for wk in wks['Workspaces']:
if wk['State'] == 'UNHEALTHY':
print(wk)
Relevant questions
Filtered List in AWS console
asked 4 months agoCan't delete workspace
asked 4 months agoHow to limit Workdocs access for only AWS Workspace
asked 4 months agoWorkspace stuck in unhealthy state even after multiple restarts
asked 3 years agoS3 Console Showing Error Instead of Bucket List
asked 7 months agolist of all VM flavors available for Amazon Workspaces (VDI)
asked 5 months agoRetrieve name and email address of workspace users.
asked a month agoIn workspace, to maintain the timezone as UTC across all workspaces. I created the GPO settings, suggested by the aws. but the gpo rule is applying on few workspaces but it is not working on others
asked 3 months agoCan I set a security group for each workspace that is launched?
asked 5 months agoAWS Workspace Image and bundle creation - original workspace question
Accepted Answerasked 2 months ago