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

export interface FirewallDomainListArgs extends core.ResourceArgs {
  /**
   * (Optional) A array of domains for the firewall domain list.
   */
  domains?: core.Array<string> | core.ArrayOut<core.StringOut>;

  /**
   * (Required) A name that lets you identify the domain list, to manage and use it.
   */
  name: string | core.StringOut;

  /**
   * (Optional) A map of tags to assign to the resource. f configured with a provider [`default_tags` con
   * figuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-con
   * figuration-block) present, tags with matching keys will overwrite those defined at the provider-leve
   * l.
   */
  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  /**
   * A map of tags assigned to the resource, including those inherited from the provider [`default_tags`
   * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-
   * configuration-block).
   */
  tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;
}

export class FirewallDomainList extends core.Resource<FirewallDomainListArgs> {
  /**
   * The ARN (Amazon Resource Name) of the domain list.
   */
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

  /**
   * (Optional) A array of domains for the firewall domain list.
   */
  @core.attr(String, { kind: "array" })
  public domains?: core.Array<string> | core.ArrayOut<core.StringOut>;

  /**
   * The ID of the domain list.
   */
  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  /**
   * (Required) A name that lets you identify the domain list, to manage and use it.
   */
  @core.attr(String)
  public name!: string | core.StringOut;

  /**
   * (Optional) A map of tags to assign to the resource. f configured with a provider [`default_tags` con
   * figuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-con
   * figuration-block) present, tags with matching keys will overwrite those defined at the provider-leve
   * l.
   */
  @core.attr(String, { kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  /**
   * A map of tags assigned to the resource, including those inherited from the provider [`default_tags`
   * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-
   * configuration-block).
   */
  @core.attr(String, { computed: true, kind: "map" })
  public tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;

  constructor(name: string, args?: FirewallDomainListArgs) {
    super(name, "aws_route53_resolver_firewall_domain_list", args);
  }

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