Interface CfnBot.ConversationLogSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.ConversationLogSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.ConversationLogSettingsProperty
extends software.amazon.jsii.JsiiSerializable
Configures conversation logging that saves audio, text, and metadata for the conversations with your users.
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.*;
ConversationLogSettingsProperty conversationLogSettingsProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.ConversationLogSettingsPropertystatic final classAn implementation forCfnBot.ConversationLogSettingsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAudioLogSettings
The Amazon S3 settings for logging audio to an S3 bucket.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBot.AudioLogSettingProperty>- See Also:
-
getTextLogSettings
The Amazon CloudWatch Logs settings for logging text and metadata.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBot.TextLogSettingProperty>- See Also:
-
builder
-