AmazonLexRunBotsOnly
Summary
Provides access to Amazon Lex conversational APIs.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonLexRunBotsOnly- Default version
- v3
- Created
- Last edited
- Services
- lex
Control-plane actions (2)
By access level: 2 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Lex | 2 of 146 | 2 Write; 0 restricted, 0 conditional | lex:PostContent, lex:PostText |
Lex: 2 actions
- lex:PostContent (Write)
- lex:PostText (Write)
Data-plane actions (6)
By access level: 1 Read, 5 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Lex | All 6 actions (see the Lex page) | 1 Read, 5 Write; 0 restricted, 0 conditional | lex:DeleteSession, lex:GetSession, lex:PutSession, lex:RecognizeText, lex:RecognizeUtterance, lex:StartConversation |
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: all-resources.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 7 write, tagging or permissions-management actions, short of full control of any service.
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
- AmazonLexChannelsAccess
- AmazonLexFullAccess
- AmazonLexReadOnly
- AmazonLexReplicationPolicy
- AWSMobileHub_FullAccess
- AWSMobileHub_ReadOnly
- LexChannelPolicy
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"lex:PostContent",
"lex:PostText",
"lex:PutSession",
"lex:GetSession",
"lex:DeleteSession",
"lex:RecognizeText",
"lex:RecognizeUtterance",
"lex:StartConversation"
],
"Resource": "*"
}
]
}
Version history
Current version v3, edited by AWS on 2021-08-18. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonLexRunBotsOnly
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonLexRunBotsOnly
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonLexRunBotsOnlyCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonLexRunBotsOnlyTerraform
resource "aws_iam_role_policy_attachment" "amazonlexrunbotsonly" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonLexRunBotsOnly"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonLexRunBotsOnly"),
);Sources
Pending editorial review. No editorial sources are listed yet.