import * as core from "@terrascript/core";

export interface DsImageArgs {
  imageId: string | core.StringOut;
}

export class DsImage extends core.Data<DsImageArgs> {
  @core.attr(String, { computed: true })
  public description!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String)
  public imageId!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public name!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public operatingSystemType!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public requiredTenancy!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public state!: string | core.StringOut;

  constructor(name: string, args?: DsImageArgs) {
    super(name, "aws_workspaces_image", args);
  }

  public override getNamespace(): string {
    return "aws_workspaces";
  }
}
