IAM / ml / lex

AWS Lex (IAM)

JSON →
AWSlexml

Amazon Lex is a service for building conversational interfaces into any application using voice and text.

iamaws
Permissions
Actions in this service
lex:GetBot
lex:GetBots
lex:ListBots
lex:GetIntent
lex:GetIntents
lex:PutIntent
lex:PutBot
lex:GetSession
Policy
Minimal privilege example

Copy-paste least-privilege policy statement — not yet harness-verified.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "lex:GetBot", "lex:GetBots", "lex:ListBots", "lex:GetIntent", "lex:GetIntents", "lex:PutIntent", "lex:PutBot", "lex:GetSession" ], "Resource": "*" } ] }
SDK mapping
Method → permission

SDK method mapping (e.g. boto3.get_object()s3:GetObject) is not yet collected.

Footguns
Known gotchas
Avoid lex:* — grants full access to create, modify, and delete bots and intents.
Avoid lex:DeleteBot — can permanently remove a bot and its associated resources.
Resources