VocabularyFilter

class VocabularyFilter : KotlinCustomResource

Resource for managing an AWS Transcribe VocabularyFilter.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.transcribe.VocabularyFilter;
import com.pulumi.aws.transcribe.VocabularyFilterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VocabularyFilter("example", VocabularyFilterArgs.builder()
.languageCode("en-US")
.tags(Map.ofEntries(
Map.entry("tag1", "value1"),
Map.entry("tag2", "value3")
))
.vocabularyFilterName("example")
.words(
"cars",
"bucket")
.build());
}
}

Import

Transcribe VocabularyFilter can be imported using the vocabulary_filter_name, e.g.,

$ pulumi import aws:transcribe/vocabularyFilter:VocabularyFilter example example-name

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the VocabularyFilter.

Link copied to clipboard
val downloadUri: Output<String>

Generated download URI.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val languageCode: Output<String>

The language code you selected for your vocabulary filter. Refer to the supported languages page for accepted codes.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the VocabularyFilter. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

The Amazon S3 location (URI) of the text file that contains your custom VocabularyFilter. Conflicts with words argument.

Link copied to clipboard

The name of the VocabularyFilter. The following arguments are optional:

Link copied to clipboard
val words: Output<List<String>>?

A list of terms to include in the vocabulary. Conflicts with vocabulary_filter_file_uri argument.