CfnBotVersionProps
- class aws_cdk.aws_lex.CfnBotVersionProps(*, bot_id, bot_version_locale_specification, description=None)
Bases:
object
Properties for defining a
CfnBotVersion
.- Parameters:
bot_id (
str
) – The unique identifier of the bot.bot_version_locale_specification (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,BotVersionLocaleSpecificationProperty
,Dict
[str
,Any
]]]]) – Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.description (
Optional
[str
]) – The description of the version.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-botversion.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex cfn_bot_version_props = lex.CfnBotVersionProps( bot_id="botId", bot_version_locale_specification=[lex.CfnBotVersion.BotVersionLocaleSpecificationProperty( bot_version_locale_details=lex.CfnBotVersion.BotVersionLocaleDetailsProperty( source_bot_version="sourceBotVersion" ), locale_id="localeId" )], # the properties below are optional description="description" )
Attributes
- bot_id
The unique identifier of the bot.
- bot_version_locale_specification
Specifies the locales that Amazon Lex adds to this version.
You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
- description
The description of the version.