AWS::Lex::BotAlias> Amazon Lex V2 is the only supported version in CloudFormation . Specifies an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot. For example, you can specify an alias called "PROD" that your applications use to call the Amazon Lex bot.
import { CfnBotAlias } from 'aws-cdk-lib/aws-lex';Or use the module namespace:
import * as lex from 'aws-cdk-lib/aws-lex';
// lex.CfnBotAliasConfiguration passed to the constructor as CfnBotAliasProps.
botAliasNameRequiredstringThe name of the bot alias.
botIdRequiredstringThe unique identifier of the bot.
botAliasLocaleSettingsOptionalIResolvable | IResolvable | BotAliasLocaleSettingsItemProperty[]Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.
botAliasTagsOptionalCfnTag[]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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
botVersionOptionalstringThe version of the bot that the bot alias references.
conversationLogSettingsOptionalIResolvable | ConversationLogSettingsPropertySpecifies 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 .
descriptionOptionalstringThe description of the bot alias.
sentimentAnalysisSettingsOptionalanyDetermines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-lexAWS::Lex::BotAlias