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

export interface VocabularyFilterArgs extends core.ResourceArgs {
  languageCode: string | core.StringOut;

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

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

  vocabularyFilterFileUri?: string | core.StringOut;

  vocabularyFilterName: string | core.StringOut;

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

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

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

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

  @core.attr(String)
  public languageCode!: 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>;

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

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

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

  constructor(name: string, args?: VocabularyFilterArgs) {
    super(name, "aws_transcribe_vocabulary_filter", args);
  }

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