---
type: resource-type
title: WorkspaceInstance
description: aws resource type AWS::WorkspacesInstances::WorkspaceInstance
name: WorkspaceInstance
lexicon: aws
resource_type: AWS::WorkspacesInstances::WorkspaceInstance
---
`AWS::WorkspacesInstances::WorkspaceInstance`, a resource type of the aws lexicon.

## Properties

- `EC2ManagedInstance` (`WorkspaceInstance_EC2ManagedInstance`, optional)
- `ManagedInstance` (`Record<string, unknown>`, optional)
- `ProvisionState` (`"ALLOCATED" | "ALLOCATING" | "DEALLOCATED" | "DEALLOCATING" | "ERROR_ALLOCATING" | "ERROR_DEALLOCATING"`, optional): The current state of the workspace instance
- `Tags` (`WorkspaceInstance_Tag[]`, optional)
- `WorkspaceInstanceId` (`string`, optional): Unique identifier for the workspace instance

## Attributes

- `EC2ManagedInstance`
- `EC2ManagedInstance.InstanceId`
- `ProvisionState`
- `WorkspaceInstanceId`
