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

export interface DsLocalDiskArgs {
  diskNode?: string | core.StringOut;

  diskPath?: string | core.StringOut;

  gatewayArn: string | core.StringOut;
}

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

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

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

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

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

  constructor(name: string, args?: DsLocalDiskArgs) {
    super(name, "aws_storagegateway_local_disk", args);
  }

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