CfnVocabularyMixinProps
- class aws_cdk.cfn_property_mixins.aws_transcribe.CfnVocabularyMixinProps(*, data_access_role_arn=None, language_code=None, phrases=None, tags=None, vocabulary_file_uri=None, vocabulary_name=None)
Bases:
objectProperties for CfnVocabularyPropsMixin.
- Parameters:
data_access_role_arn (
Optional[str]) – The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input file.language_code (
Optional[str]) – The language code that represents the language of the entries in your custom vocabulary. Each custom vocabulary must contain terms in only one language.phrases (
Optional[Sequence[str]]) – Use this parameter if you want to create your custom vocabulary by including all desired terms, as comma-separated values, within your request. You cannot use this parameter together with VocabularyFileUri.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Adds one or more custom tags, each in the form of a key:value pair, to the custom vocabulary.vocabulary_file_uri (
Optional[str]) – The Amazon S3 location of the text file that contains your custom vocabulary. You cannot use this parameter together with Phrases.vocabulary_name (
Optional[str]) – A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an AWS account.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_transcribe as transcribe cfn_vocabulary_mixin_props = transcribe.CfnVocabularyMixinProps( data_access_role_arn="dataAccessRoleArn", language_code="languageCode", phrases=["phrases"], tags=[CfnTag( key="key", value="value" )], vocabulary_file_uri="vocabularyFileUri", vocabulary_name="vocabularyName" )
Attributes
- data_access_role_arn
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input file.
- language_code
The language code that represents the language of the entries in your custom vocabulary.
Each custom vocabulary must contain terms in only one language.
- phrases
Use this parameter if you want to create your custom vocabulary by including all desired terms, as comma-separated values, within your request.
You cannot use this parameter together with VocabularyFileUri.
- tags
value pair, to the custom vocabulary.
- See:
- Type:
Adds one or more custom tags, each in the form of a key
- vocabulary_file_uri
The Amazon S3 location of the text file that contains your custom vocabulary.
You cannot use this parameter together with Phrases.
- vocabulary_name
A unique name, chosen by you, for your custom vocabulary.
This name is case sensitive, cannot contain spaces, and must be unique within an AWS account.