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

export interface DsZoneArgs {
  name?: string | core.StringOut;

  privateZone?: boolean | core.BooleanOut;

  resourceRecordSetCount?: number | core.NumberOut;

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

  vpcId?: string | core.StringOut;

  zoneId?: string | core.StringOut;
}

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

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

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

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

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

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

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

  @core.attr(String, { computed: true, kind: "array" })
  public nameServers!: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(Boolean)
  public privateZone?: boolean | core.BooleanOut;

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

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

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

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

  constructor(name: string, args?: DsZoneArgs) {
    super(name, "aws_route53_zone", args);
  }

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