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

export interface DhcpOptionsArgs extends core.ResourceArgs {
  domainName?: string | core.StringOut;

  domainNameServers?: core.Array<string> | core.ArrayOut<core.StringOut>;

  netbiosNameServers?: core.Array<string> | core.ArrayOut<core.StringOut>;

  netbiosNodeType?: string | core.StringOut;

  ntpServers?: core.Array<string> | core.ArrayOut<core.StringOut>;

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

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

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

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

  @core.attr(String, { kind: "array" })
  public domainNameServers?: core.Array<string> | core.ArrayOut<core.StringOut>;

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

  @core.attr(String, { kind: "array" })
  public netbiosNameServers?:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

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

  @core.attr(String, { kind: "array" })
  public ntpServers?: core.Array<string> | core.ArrayOut<core.StringOut>;

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

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

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

  constructor(name: string, args?: DhcpOptionsArgs) {
    super(name, "aws_vpc_dhcp_options", args);
  }

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