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

export interface DsRouteCalculatorArgs {
  calculatorName: string | core.StringOut;

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;
}

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

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

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

  @core.attr(String, { computed: true })
  public dataSource!: 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, kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

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

  constructor(name: string, args?: DsRouteCalculatorArgs) {
    super(name, "aws_location_route_calculator", args);
  }

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