import * as core from "@terrascript/core"; export interface VocabularyArgs extends core.ResourceArgs { /** * (Required) The language code you selected for your vocabulary. */ languageCode: string | core.StringOut; /** * (Optional) - A list of terms to include in the vocabulary. Conflicts with `vocabulary_file_uri` */ phrases?: core.Array | core.ArrayOut; /** * (Optional) A map of tags to assign to the Vocabulary. If configured with a provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block) present, tags with matching keys will overwrite those defined at the provider-l * evel. */ tags?: core.Map | core.MapOut; tagsAll?: core.Map | core.MapOut; /** * (Required) The Amazon S3 location (URI) of the text file that contains your custom vocabulary. */ vocabularyFileUri?: string | core.StringOut; /** * (Required) The name of the Vocabulary. */ vocabularyName: string | core.StringOut; } export class Vocabulary extends core.Resource { /** * ARN of the Vocabulary. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Generated download URI. */ @core.attr(String, { computed: true }) public downloadUri!: string | core.StringOut; /** * Name of the Vocabulary. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The language code you selected for your vocabulary. */ @core.attr(String) public languageCode!: string | core.StringOut; /** * (Optional) - A list of terms to include in the vocabulary. Conflicts with `vocabulary_file_uri` */ @core.attr(String, { kind: "array" }) public phrases?: core.Array | core.ArrayOut; /** * (Optional) A map of tags to assign to the Vocabulary. If configured with a provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block) present, tags with matching keys will overwrite those defined at the provider-l * evel. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * (Required) The Amazon S3 location (URI) of the text file that contains your custom vocabulary. */ @core.attr(String, { computed: true }) public vocabularyFileUri?: string | core.StringOut; /** * (Required) The name of the Vocabulary. */ @core.attr(String) public vocabularyName!: string | core.StringOut; constructor(name: string, args?: VocabularyArgs) { super(name, "aws_transcribe_vocabulary", args); } public override getNamespace(): string { return "aws_transcribe"; } }