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

export interface TrackerAssociationArgs extends core.ResourceArgs {
  consumerArn: string | core.StringOut;

  trackerName: string | core.StringOut;
}

export class TrackerAssociation extends core.Resource<TrackerAssociationArgs> {
  @core.attr(String)
  public consumerArn!: string | core.StringOut;

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

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

  constructor(name: string, args?: TrackerAssociationArgs) {
    super(name, "aws_location_tracker_association", args);
  }

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