AWS Workspace can be configured to AutoStop, which will stop and save apps and data after a period of disconnection. This can help save on cost and help decrease the number of running services that need to be maintained and monitored at a given time. For more information on WorkSpaces running mode, see the AWS documentation.
References:
https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html
In AWS Console -
In Terraform -
References:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/workspaces_workspace