AWS::Lex::BotResource Type definition for an Amazon Lex conversational bot performing automated tasks such as ordering a pizza, booking a hotel, and so on.
13 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DataPrivacy | object | Required |
IdleSessionTTLInSeconds | integer | Required |
Name | string | Required |
RoleArn | string | Required |
AutoBuildBotLocales | boolean | Write-only |
BotFileS3Location | S3Location | Write-only |
BotLocales | Array<BotLocale> | Write-only |
BotTags | Array<Tag> | |
Description | string | |
ErrorLogSettings | object | |
Replication | Replication | Write-only |
TestBotAliasSettings | TestBotAliasSettings | Write-only |
TestBotAliasTags | Array<Tag> | Write-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
Id | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lex::Bot
Resources:
MyResource:
Type: AWS::Lex::Bot
Properties:
Name: "my-name"
RoleArn: "arn:aws:service:region:account:resource"
DataPrivacy: {}
IdleSessionTTLInSeconds: "my-idlesessionttlinseconds"
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
iam:PassRolelex:DescribeBotlex:CreateUploadUrllex:StartImportlex:DescribeImportlex:ListTagsForResourcelex:TagResourcelex:UntagResourcelex:DescribeBotlex:ListTagsForResourcelex:DescribeBotReplicalex:ListBotAliaseslex:ListBotLocaleslex:ListIntentslex:ListSlotslex:ListSlotTypesiam:PassRolelex:DescribeBotlex:CreateUploadUrllex:StartImportlex:DescribeImportlex:ListTagsForResourcelex:TagResourcelex:UntagResourcelex:DeleteBotlex:BatchDeleteCustomVocabularyItemlex:DescribeBotlex:DescribeBotAliaslex:DeleteBotLocalelex:DeleteIntentlex:DeleteSlotTypelex:DeleteSlotlex:ListBotslex:ListBotReplicaslex:ListBotAliaseslex:ListBotLocaleslex:ListIntentslex:ListSlotslex:ListSlotTypeslex:ListCustomVocabulariesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterId