CfnBotAliasMixinProps
- class aws_cdk.mixins_preview.aws_lex.mixins.CfnBotAliasMixinProps(*, bot_alias_locale_settings=None, bot_alias_name=None, bot_alias_tags=None, bot_id=None, bot_version=None, conversation_log_settings=None, description=None, sentiment_analysis_settings=None)
Bases:
objectProperties for CfnBotAliasPropsMixin.
- Parameters:
bot_alias_locale_settings (
Union[IResolvable,Sequence[Union[IResolvable,BotAliasLocaleSettingsItemProperty,Dict[str,Any]]],None]) – Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot’s locale.bot_alias_name (
Optional[str]) – The name of the bot alias.bot_alias_tags (
Union[IResolvable,Sequence[Union[IResolvable,CfnTag,Dict[str,Any]]],None]) – An array of key-value pairs to apply to this resource. You can only add tags when you specify an alias. For more information, see Tag .bot_id (
Optional[str]) – The unique identifier of the bot.bot_version (
Optional[str]) – The version of the bot that the bot alias references.conversation_log_settings (
Union[IResolvable,ConversationLogSettingsProperty,Dict[str,Any],None]) – Specifies whether Amazon Lex logs text and audio for conversations with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .description (
Optional[str]) – The description of the bot alias.sentiment_analysis_settings (
Any) – Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-botalias.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_lex import mixins as lex_mixins # sentiment_analysis_settings: Any cfn_bot_alias_mixin_props = lex_mixins.CfnBotAliasMixinProps( bot_alias_locale_settings=[lex_mixins.CfnBotAliasPropsMixin.BotAliasLocaleSettingsItemProperty( bot_alias_locale_setting=lex_mixins.CfnBotAliasPropsMixin.BotAliasLocaleSettingsProperty( code_hook_specification=lex_mixins.CfnBotAliasPropsMixin.CodeHookSpecificationProperty( lambda_code_hook=lex_mixins.CfnBotAliasPropsMixin.LambdaCodeHookProperty( code_hook_interface_version="codeHookInterfaceVersion", lambda_arn="lambdaArn" ) ), enabled=False ), locale_id="localeId" )], bot_alias_name="botAliasName", bot_alias_tags=[CfnTag( key="key", value="value" )], bot_id="botId", bot_version="botVersion", conversation_log_settings=lex_mixins.CfnBotAliasPropsMixin.ConversationLogSettingsProperty( audio_log_settings=[lex_mixins.CfnBotAliasPropsMixin.AudioLogSettingProperty( destination=lex_mixins.CfnBotAliasPropsMixin.AudioLogDestinationProperty( s3_bucket=lex_mixins.CfnBotAliasPropsMixin.S3BucketLogDestinationProperty( kms_key_arn="kmsKeyArn", log_prefix="logPrefix", s3_bucket_arn="s3BucketArn" ) ), enabled=False )], text_log_settings=[lex_mixins.CfnBotAliasPropsMixin.TextLogSettingProperty( destination=lex_mixins.CfnBotAliasPropsMixin.TextLogDestinationProperty( cloud_watch=lex_mixins.CfnBotAliasPropsMixin.CloudWatchLogGroupLogDestinationProperty( cloud_watch_log_group_arn="cloudWatchLogGroupArn", log_prefix="logPrefix" ) ), enabled=False )] ), description="description", sentiment_analysis_settings=sentiment_analysis_settings )
Attributes
- bot_alias_locale_settings
Specifies settings that are unique to a locale.
For example, you can use different Lambda function depending on the bot’s locale.
- bot_alias_name
The name of the bot alias.
- bot_alias_tags
An array of key-value pairs to apply to this resource.
You can only add tags when you specify an alias.
For more information, see Tag .
- bot_id
The unique identifier of the bot.
- bot_version
The version of the bot that the bot alias references.
- conversation_log_settings
Specifies whether Amazon Lex logs text and audio for conversations with the bot.
When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .
- description
The description of the bot alias.
- sentiment_analysis_settings
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.