VocabularyFilterArgs

data class VocabularyFilterArgs(val languageCode: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val vocabularyFilterFileUri: Output<String>? = null, val vocabularyFilterName: Output<String>? = null, val words: Output<List<String>>? = null) : ConvertibleToJava<VocabularyFilterArgs>

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

Constructors

Link copied to clipboard
constructor(languageCode: Output<String>? = null, tags: Output<Map<String, String>>? = null, vocabularyFilterFileUri: Output<String>? = null, vocabularyFilterName: Output<String>? = null, words: Output<List<String>>? = null)

Properties

Link copied to clipboard
val languageCode: Output<String>? = null

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

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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 vocabularyFilterFileUri: Output<String>? = null

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

Link copied to clipboard
val vocabularyFilterName: Output<String>? = null

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

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

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

Functions

Link copied to clipboard
open override fun toJava(): VocabularyFilterArgs