

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Lex::Bot ConversationLogSettings
<a name="aws-properties-lex-bot-conversationlogsettings"></a>

Configures conversation logging that saves audio, text, and metadata for the conversations with your users.

## Syntax
<a name="aws-properties-lex-bot-conversationlogsettings-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-lex-bot-conversationlogsettings-syntax.json"></a>

```
{
  "[AudioLogSettings](#cfn-lex-bot-conversationlogsettings-audiologsettings)" : [ AudioLogSetting, ... ],
  "[TextLogSettings](#cfn-lex-bot-conversationlogsettings-textlogsettings)" : [ TextLogSetting, ... ]
}
```

### YAML
<a name="aws-properties-lex-bot-conversationlogsettings-syntax.yaml"></a>

```
  [AudioLogSettings](#cfn-lex-bot-conversationlogsettings-audiologsettings): 
    - AudioLogSetting
  [TextLogSettings](#cfn-lex-bot-conversationlogsettings-textlogsettings): 
    - TextLogSetting
```

## Properties
<a name="aws-properties-lex-bot-conversationlogsettings-properties"></a>

`AudioLogSettings`  <a name="cfn-lex-bot-conversationlogsettings-audiologsettings"></a>
The Amazon S3 settings for logging audio to an S3 bucket.  
*Required*: No  
*Type*: Array of [AudioLogSetting](aws-properties-lex-bot-audiologsetting.md)  
*Maximum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TextLogSettings`  <a name="cfn-lex-bot-conversationlogsettings-textlogsettings"></a>
The Amazon CloudWatch Logs settings for logging text and metadata.  
*Required*: No  
*Type*: Array of [TextLogSetting](aws-properties-lex-bot-textlogsetting.md)  
*Maximum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)