import * as core from "@terrascript/core"; export interface VocabularyFilterArgs extends core.ResourceArgs { /** * (Required) The language code you selected for your vocabulary filter. Refer to the [supported langua * ges](https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) page for accepted co * des. */ languageCode: string | core.StringOut; /** * (Optional) A map of tags to assign to the VocabularyFilter. 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 prov * ider-level. */ tags?: core.Map | core.MapOut; tagsAll?: core.Map | core.MapOut; /** * (Required) The Amazon S3 location (URI) of the text file that contains your custom VocabularyFilter. * Conflicts with `words`. */ vocabularyFilterFileUri?: string | core.StringOut; /** * (Required) The name of the VocabularyFilter. */ vocabularyFilterName: string | core.StringOut; /** * (Required) - A list of terms to include in the vocabulary. Conflicts with `vocabulary_file_uri` */ words?: core.Array | core.ArrayOut; } export class VocabularyFilter extends core.Resource { /** * ARN of the VocabularyFilter. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Generated download URI. */ @core.attr(String, { computed: true }) public downloadUri!: string | core.StringOut; /** * VocabularyFilter name. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The language code you selected for your vocabulary filter. Refer to the [supported langua * ges](https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) page for accepted co * des. */ @core.attr(String) public languageCode!: string | core.StringOut; /** * (Optional) A map of tags to assign to the VocabularyFilter. 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 prov * ider-level. */ @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 VocabularyFilter. * Conflicts with `words`. */ @core.attr(String) public vocabularyFilterFileUri?: string | core.StringOut; /** * (Required) The name of the VocabularyFilter. */ @core.attr(String) public vocabularyFilterName!: string | core.StringOut; /** * (Required) - A list of terms to include in the vocabulary. Conflicts with `vocabulary_file_uri` */ @core.attr(String, { kind: "array" }) public words?: core.Array | core.ArrayOut; constructor(name: string, args?: VocabularyFilterArgs) { super(name, "aws_transcribe_vocabulary_filter", args); } public override getNamespace(): string { return "aws_transcribe"; } }