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

export interface DsV2IpSetArgs {
  name: string | core.StringOut;

  scope: string | core.StringOut;
}

export class DsV2IpSet extends core.Data<DsV2IpSetArgs> {
  @core.attr(String, { computed: true, kind: "array" })
  public addresses!: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(String, { computed: true })
  public arn!: 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 })
  public ipAddressVersion!: string | core.StringOut;

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

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

  constructor(name: string, args?: DsV2IpSetArgs) {
    super(name, "aws_wafv2_ip_set", args);
  }

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