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

export interface DsTrackerArgs {
  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  trackerName: string | core.StringOut;
}

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

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

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

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

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

  @core.attr(String, { computed: true, kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

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

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

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

  constructor(name: string, args?: DsTrackerArgs) {
    super(name, "aws_location_tracker", args);
  }

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