state
The operational state of the WorkSpace.
PENDING– The WorkSpace is in a waiting state (for example, the WorkSpace is being created).AVAILABLE– The WorkSpace is running and has passed the health checks.IMPAIRED– Refer toUNHEALTHYstate.UNHEALTHY– The WorkSpace is not responding to health checks.REBOOTING– The WorkSpace is being rebooted (restarted).STARTING– The WorkSpace is starting up and health checks are being run.REBUILDING– The WorkSpace is being rebuilt.RESTORING– The WorkSpace is being restored.MAINTENANCE– The WorkSpace is undergoing scheduled maintenance by Amazon Web Services.ADMIN_MAINTENANCE– The WorkSpace is undergoing maintenance by the WorkSpaces administrator.TERMINATING– The WorkSpace is being deleted.TERMINATED– The WorkSpace has been deleted.SUSPENDED– The WorkSpace has been suspended for image creation.UPDATING– The WorkSpace is undergoing an update.STOPPING– The WorkSpace is being stopped.STOPPED– The WorkSpace has been stopped.ERROR– The WorkSpace is an error state (for example, an error occurred during startup).
After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.