Skip to content
v2.274.0

CfnVocabularyProps Struct ​

Properties for defining a CfnVocabulary.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnVocabularyProps: connect.CfnVocabularyProps = {
  content: 'content',
  instanceId: 'instanceId',
  languageCode: 'languageCode',
  vocabularyName: 'vocabularyName',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

contentstringcontentstrcontentStringContentstringContent*stringrequired#
The content of the custom vocabulary in plain-text format with a table of values.
instanceIdstringinstance_idstrinstanceIdStringInstanceIdstringInstanceId*stringrequired#
The identifier of the Amazon Connect instance.
languageCodestringlanguage_codestrlanguageCodeStringLanguageCodestringLanguageCode*stringrequired#
The language code of the vocabulary entries.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags used to organize, track, or control access for this resource.
vocabularyNamestringvocabulary_namestrvocabularyNameStringVocabularyNamestringVocabularyName*stringrequired#
A unique name of the custom vocabulary.