Interface CfnBot.AudioLogSettingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.AudioLogSettingProperty.Jsii$Proxy
- Enclosing class:
- CfnBot
@Stability(Stable)
public static interface CfnBot.AudioLogSettingProperty
extends software.amazon.jsii.JsiiSerializable
Settings for logging audio of conversations between Amazon Lex and a user.
You specify whether to log audio and the Amazon S3 bucket where the audio file is stored.
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.*;
AudioLogSettingProperty audioLogSettingProperty = AudioLogSettingProperty.builder()
.destination(AudioLogDestinationProperty.builder()
.s3Bucket(S3BucketLogDestinationProperty.builder()
.logPrefix("logPrefix")
.s3BucketArn("s3BucketArn")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.build())
.build())
.enabled(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.AudioLogSettingPropertystatic final classAn implementation forCfnBot.AudioLogSettingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Specifies the location of the audio log files collected when conversation logging is enabled for a bot.Determines whether audio logging in enabled for the bot.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestination
Specifies the location of the audio log files collected when conversation logging is enabled for a bot. -
getEnabled
Determines whether audio logging in enabled for the bot. -
builder
-