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

export interface LfTagArgs extends core.ResourceArgs {
  catalogId?: string | core.StringOut;

  key: string | core.StringOut;

  values: core.Array<string> | core.ArrayOut<core.StringOut>;
}

export class LfTag extends core.Resource<LfTagArgs> {
  @core.attr(String, { computed: true })
  public catalogId?: string | core.StringOut;

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

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

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

  constructor(name: string, args?: LfTagArgs) {
    super(name, "aws_lakeformation_lf_tag", args);
  }

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