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

export interface MedicalVocabularyArgs 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>;

  vocabularyFileUri: string | core.StringOut;

  vocabularyName: string | core.StringOut;
}

export class MedicalVocabulary extends core.Resource<MedicalVocabularyArgs> {
  @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 vocabularyFileUri!: string | core.StringOut;

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

  constructor(name: string, args?: MedicalVocabularyArgs) {
    super(name, "aws_transcribe_medical_vocabulary", args);
  }

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