AWS Lex (IAM)
JSON →Amazon Lex is a service for building conversational interfaces into any application using voice and text.
Common permissions
lex:GetBotlex:GetBotslex:ListBotslex:GetIntentlex:GetIntentslex:PutIntentlex:PutBotlex:GetSession Least-privilege example
{
"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": "*"
}
]
} Warnings
- 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
API
full doc /v1/iam/lex