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

export interface DsAssetArgs {
  arn: string | core.StringOut;

  assetId: string | core.StringOut;
}

export class DsAsset extends core.Data<DsAssetArgs> {
  @core.attr(String)
  public arn!: string | core.StringOut;

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

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

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

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

  @core.attr(Number, { computed: true })
  public rackElevation!: number | core.NumberOut;

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

  constructor(name: string, args?: DsAssetArgs) {
    super(name, "aws_outposts_asset", args);
  }

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