@Stability(value=Stable)
public static interface CfnBot.TestBotAliasSettingsProperty
extends software.amazon.jsii.JsiiSerializable
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.services.lex.*;
Object sentimentAnalysisSettings;
TestBotAliasSettingsProperty testBotAliasSettingsProperty = TestBotAliasSettingsProperty.builder()
.botAliasLocaleSettings(List.of(BotAliasLocaleSettingsItemProperty.builder()
.botAliasLocaleSetting(BotAliasLocaleSettingsProperty.builder()
.enabled(false)
// the properties below are optional
.codeHookSpecification(CodeHookSpecificationProperty.builder()
.lambdaCodeHook(LambdaCodeHookProperty.builder()
.codeHookInterfaceVersion("codeHookInterfaceVersion")
.lambdaArn("lambdaArn")
.build())
.build())
.build())
.localeId("localeId")
.build()))
.conversationLogSettings(ConversationLogSettingsProperty.builder()
.audioLogSettings(List.of(AudioLogSettingProperty.builder()
.destination(AudioLogDestinationProperty.builder()
.s3Bucket(S3BucketLogDestinationProperty.builder()
.logPrefix("logPrefix")
.s3BucketArn("s3BucketArn")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.TestBotAliasSettingsProperty.Builder
A builder for
CfnBot.TestBotAliasSettingsProperty |
static class |
CfnBot.TestBotAliasSettingsProperty.Jsii$Proxy
An implementation for
CfnBot.TestBotAliasSettingsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.TestBotAliasSettingsProperty.Builder |
builder() |
default Object |
getBotAliasLocaleSettings()
Specifies settings that are unique to a locale.
|
default Object |
getConversationLogSettings()
Specifies settings for conversation logs that save audio, text, and metadata information for conversations with your users.
|
default String |
getDescription()
Specifies a description for the test bot alias.
|
default Object |
getSentimentAnalysisSettings()
Specifies whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
|
@Stability(value=Stable) @Nullable default Object getBotAliasLocaleSettings()
For example, you can use a different Lambda function depending on the bot's locale.
@Stability(value=Stable) @Nullable default Object getConversationLogSettings()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getSentimentAnalysisSettings()
@Stability(value=Stable) static CfnBot.TestBotAliasSettingsProperty.Builder builder()
Copyright © 2022. All rights reserved.