Resource: aws_workspaces_workspace

Use this data source to get information about a workspace in AWS Workspaces Service.

Example Usage

Filter By Workspace ID

data "aws_workspaces_workspace" "example" {
  workspace_id = "ws-cj5xcxsz5"
}

Filter By Directory ID & User Name

data "aws_workspaces_workspace" "example" {
  directory_id = "d-9967252f57"
  user_name    = "Example"
}

Argument Reference

This data source supports the following arguments:

workspace_properties supports the following:

Attribute Reference

This data source exports the following attributes in addition to the arguments above: