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

export interface UploadBufferArgs extends core.ResourceArgs {
  diskId?: string | core.StringOut;

  diskPath?: string | core.StringOut;

  gatewayArn: string | core.StringOut;
}

export class UploadBuffer extends core.Resource<UploadBufferArgs> {
  @core.attr(String, { computed: true })
  public diskId?: 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?: UploadBufferArgs) {
    super(name, "aws_storagegateway_upload_buffer", args);
  }

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