interface CfnVocabularyFilterProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Transcribe.CfnVocabularyFilterProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awstranscribe#CfnVocabularyFilterProps |
Java | software.amazon.awscdk.services.transcribe.CfnVocabularyFilterProps |
Python | aws_cdk.aws_transcribe.CfnVocabularyFilterProps |
TypeScript | aws-cdk-lib » aws_transcribe » CfnVocabularyFilterProps |
Properties for defining a CfnVocabularyFilter.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transcribe as transcribe } from 'aws-cdk-lib';
const cfnVocabularyFilterProps: transcribe.CfnVocabularyFilterProps = {
languageCode: 'languageCode',
vocabularyFilterName: 'vocabularyFilterName',
// the properties below are optional
dataAccessRoleArn: 'dataAccessRoleArn',
tags: [{
key: 'key',
value: 'value',
}],
vocabularyFilterFileUri: 'vocabularyFilterFileUri',
words: ['words'],
};
Properties
| Name | Type | Description |
|---|---|---|
| language | string | The language code that represents the language of the entries in your vocabulary filter. |
| vocabulary | string | A unique name, chosen by you, for your custom vocabulary filter. |
| data | string | The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files. |
| tags? | Cfn[] | Tags associated with the vocabulary filter. |
| vocabulary | string | The Amazon S3 location of the text file that contains your custom vocabulary filter terms. |
| words? | string[] | Use this parameter if you want to create your custom vocabulary filter by including all desired terms, as comma-separated values, within your request. |
languageCode
Type:
string
The language code that represents the language of the entries in your vocabulary filter.
vocabularyFilterName
Type:
string
A unique name, chosen by you, for your custom vocabulary filter.
dataAccessRoleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files.
tags?
Type:
Cfn[]
(optional)
Tags associated with the vocabulary filter.
vocabularyFilterFileUri?
Type:
string
(optional)
The Amazon S3 location of the text file that contains your custom vocabulary filter terms.
words?
Type:
string[]
(optional)
Use this parameter if you want to create your custom vocabulary filter by including all desired terms, as comma-separated values, within your request.

.NET
Go
Java
Python
TypeScript