Vocabulary

class Vocabulary : KotlinCustomResource

Provides an Amazon Connect Vocabulary resource. For more information see Amazon Connect: Getting Started

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.Vocabulary;
import com.pulumi.aws.connect.VocabularyArgs;
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 Vocabulary("example", VocabularyArgs.builder()
.content("""
Phrase IPA SoundsLike DisplayAs
Los-Angeles Los Angeles
F.B.I. ɛ f b i aɪ FBI
Etienne eh-tee-en
""")
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.languageCode("en-US")
.tags(Map.of("Key1", "Value1"))
.build());
}
}

Import

Amazon Connect Vocabularies can be imported using the instance_id and vocabulary_id separated by a colon (:), e.g.,

$ pulumi import aws:connect/vocabulary:Vocabulary example f1288a1f-6193-445a-b47e-af739b2:c1d4e5f6-1b3c-1b3c-1b3c-c1d4e5f6c1d4e5

Properties

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) of the vocabulary.

Link copied to clipboard
val content: Output<String>

The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase, IPA, SoundsLike, and DisplayAs fields. Separate the fields with TAB characters. For more information, see Create a custom vocabulary using a table. Minimum length of 1. Maximum length of 60000.

Link copied to clipboard
val failureReason: Output<String>

The reason why the custom vocabulary was not created.

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

Specifies the identifier of the hosting Amazon Connect Instance.

Link copied to clipboard
val languageCode: Output<String>

The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?. Valid Values are ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN.

Link copied to clipboard

The timestamp when the custom vocabulary was last modified.

Link copied to clipboard
val name: Output<String>

A unique name of the custom vocabulary. Must not be more than 140 characters.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: Output<String>

The current state of the custom vocabulary. Valid values are CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED, DELETE_IN_PROGRESS.

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

Tags to apply to the vocabulary. 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>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vocabularyId: Output<String>

The identifier of the custom vocabulary.