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

export interface DelegationSetArgs extends core.ResourceArgs {
  referenceName?: string | core.StringOut;
}

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

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

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

  @core.attr(String)
  public referenceName?: string | core.StringOut;

  constructor(name: string, args?: DelegationSetArgs) {
    super(name, "aws_route53_delegation_set", args);
  }

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