

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 AudioLogSetting
<a name="aws-properties-lex-bot-audiologsetting"></a>

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.

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

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

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

```
{
  "[Destination](#cfn-lex-bot-audiologsetting-destination)" : AudioLogDestination,
  "[Enabled](#cfn-lex-bot-audiologsetting-enabled)" : Boolean
}
```

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

```
  [Destination](#cfn-lex-bot-audiologsetting-destination): 
    AudioLogDestination
  [Enabled](#cfn-lex-bot-audiologsetting-enabled): Boolean
```

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

`Destination`  <a name="cfn-lex-bot-audiologsetting-destination"></a>
Specifies the location of the audio log files collected when conversation logging is enabled for a bot.  
*Required*: Yes  
*Type*: [AudioLogDestination](aws-properties-lex-bot-audiologdestination.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Enabled`  <a name="cfn-lex-bot-audiologsetting-enabled"></a>
Determines whether audio logging in enabled for the bot.  
*Required*: Yes  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)