@Stability(value=Stable)
public static interface CfnBot.ConversationLogSettingsProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.ConversationLogSettingsProperty.Builder
A builder for
CfnBot.ConversationLogSettingsProperty |
static class |
CfnBot.ConversationLogSettingsProperty.Jsii$Proxy
An implementation for
CfnBot.ConversationLogSettingsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.ConversationLogSettingsProperty.Builder |
builder() |
default Object |
getAudioLogSettings()
Specifies the Amazon S3 settings for logging audio to an S3 bucket.
|
default Object |
getTextLogSettings()
Specifies settings to enable text conversation logs.
|
@Stability(value=Stable) @Nullable default Object getAudioLogSettings()
@Stability(value=Stable) @Nullable default Object getTextLogSettings()
You specify the Amazon CloudWatch Logs log group and whether logs should be stored for an alias.
@Stability(value=Stable) static CfnBot.ConversationLogSettingsProperty.Builder builder()
Copyright © 2022. All rights reserved.