Interface CfnBotPropsMixin.TestBotAliasSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.TestBotAliasSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.TestBotAliasSettingsProperty
extends software.amazon.jsii.JsiiSerializable
Specifies configuration settings for the alias used to test the bot.
If the TestBotAliasSettings property is not specified, the settings are configured with default values.
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;
TestBotAliasSettingsProperty testBotAliasSettingsProperty = TestBotAliasSettingsProperty.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()))
.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 forCfnBotPropsMixin.TestBotAliasSettingsPropertystatic final classAn implementation forCfnBotPropsMixin.TestBotAliasSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies settings that are unique to a locale.default ObjectSpecifies settings for conversation logs that save audio, text, and metadata information for conversations with your users.default StringSpecifies a description for the test bot alias.default ObjectSpecifies 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 a different Lambda function depending on the bot's locale.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBotPropsMixin.BotAliasLocaleSettingsItemProperty>- See Also:
-
getConversationLogSettings
Specifies settings for conversation logs that save audio, text, and metadata information for conversations with your users.Returns union: either
IResolvableorCfnBotPropsMixin.ConversationLogSettingsProperty- See Also:
-
getDescription
Specifies a description for the test bot alias.- See Also:
-
getSentimentAnalysisSettings
Specifies whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.- See Also:
-
builder
-