Skip to content

Data Source: awsWorkspacesImage

Use this data source to get information about a Workspaces image.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsWorkspacesImage.DataAwsWorkspacesImage(this, "example", {
  imageId: "wsi-ten5h0y19",
});

Argument Reference

The following arguments are supported:

  • imageId – (Required) ID of the image.

Attributes Reference

The following attributes are exported:

  • name – The name of the image.
  • description – The description of the image.
  • os – The operating system that the image is running.
  • requiredTenancy – Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images.
  • state – The status of the image.