Permissions needed to create a bot with natural language description in Lex V2
-
To access this feature on Amazon Lex V2 console, ensure your console role has
bedrock:ListFoundationModels
permission. -
The IAM role associated with the bot should have
bedrock:InvokeModel
permission. When you enable the feature with the Amazon Lex console the policy will get automatically added to the bot role provided your bot is using a service-linked role generated by Amazon Lex.{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "bedrock:InvokeModel" ], "Resource": [ "arn:aws:bedrock:
region
::foundation-model/model-id
" ] } ] }