---
type: resource-type
title: Bot
description: aws resource type AWS::Lex::Bot
name: Bot
lexicon: aws
resource_type: AWS::Lex::Bot
---
`AWS::Lex::Bot`, a resource type of the aws lexicon.

## Properties

- `DataPrivacy` (`Record<string, unknown>`, required)
- `IdleSessionTTLInSeconds` (`number`, required)
- `Name` (`string`, required)
- `RoleArn` (`string`, required)
- `Arn` (`string`, optional)
- `AutoBuildBotLocales` (`boolean`, optional)
- `BotFileS3Location` (`Bot_S3Location`, optional)
- `BotLocales` (`Bot_BotLocale[]`, optional)
- `BotMembers` (`Bot_BotMember[]`, optional): The list of bot members in a network to be created.
- `BotTags` (`Bot_Tag[]`, optional)
- `BotType` (`"Bot" | "BotNetwork"`, optional): The type of a bot to create.
- `Description` (`string`, optional)
- `ErrorLogSettings` (`Record<string, unknown>`, optional)
- `Id` (`string`, optional)
- `Replication` (`Bot_Replication`, optional)
- `TestBotAliasSettings` (`Bot_TestBotAliasSettings`, optional)
- `TestBotAliasTags` (`Bot_Tag[]`, optional)

## Attributes

- `Arn`
- `Id`
