Interface CfnBotAliasMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotAliasMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:00.947Z")
@Stability(Stable)
public interface CfnBotAliasMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnBotAliasPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lex.*;
Object sentimentAnalysisSettings;
CfnBotAliasMixinProps cfnBotAliasMixinProps = CfnBotAliasMixinProps.builder()
.botAliasLocaleSettings(List.of(BotAliasLocaleSettingsItemProperty.builder()
.botAliasLocaleSetting(BotAliasLocaleSettingsProperty.builder()
.codeHookSpecification(CodeHookSpecificationProperty.builder()
.lambdaCodeHook(LambdaCodeHookProperty.builder()
.codeHookInterfaceVersion("codeHookInterfaceVersion")
.lambdaArn("lambdaArn")
.build())
.build())
.enabled(false)
.build())
.localeId("localeId")
.build()))
.botAliasName("botAliasName")
.botAliasTags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.botId("botId")
.botVersion("botVersion")
.conversationLogSettings(ConversationLogSettingsProperty.builder()
.audioLogSettings(List.of(AudioLogSettingProperty.builder()
.destination(AudioLogDestinationProperty.builder()
.s3Bucket(S3BucketLogDestinationProperty.builder()
.kmsKeyArn("kmsKeyArn")
.logPrefix("logPrefix")
.s3BucketArn("s3BucketArn")
.build())
.build())
.enabled(false)
.build()))
.textLogSettings(List.of(TextLogSettingProperty.builder()
.destination(TextLogDestinationProperty.builder()
.cloudWatch(CloudWatchLogGroupLogDestinationProperty.builder()
.cloudWatchLogGroupArn("cloudWatchLogGroupArn")
.logPrefix("logPrefix")
.build())
.build())
.enabled(false)
.build()))
.build())
.description("description")
.sentimentAnalysisSettings(sentimentAnalysisSettings)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotAliasMixinPropsstatic final classAn implementation forCfnBotAliasMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies settings that are unique to a locale.default StringThe name of the bot alias.An array of key-value pairs to apply to this resource.default StringgetBotId()The unique identifier of the bot.default StringThe version of the bot that the bot alias references.default ObjectSpecifies whether Amazon Lex logs text and audio for conversations with the bot.default StringThe description of the bot alias.default ObjectDetermines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBotAliasLocaleSettings
Specifies settings that are unique to a locale.For example, you can use different Lambda function depending on the bot's locale.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBotAliasPropsMixin.BotAliasLocaleSettingsItemProperty>- See Also:
-
getBotAliasName
The name of the bot alias.- See Also:
-
getBotAliasTags
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 .
- See Also:
-
getBotId
The unique identifier of the bot.- See Also:
-
getBotVersion
The version of the bot that the bot alias references.- See Also:
-
getConversationLogSettings
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 .
Returns union: either
IResolvableorCfnBotAliasPropsMixin.ConversationLogSettingsProperty- See Also:
-
getDescription
The description of the bot alias.- See Also:
-
getSentimentAnalysisSettings
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.- See Also:
-
builder
- Returns:
- a
CfnBotAliasMixinProps.BuilderofCfnBotAliasMixinProps
-