lex:CreateBotVersion

Write

lex:CreateBotVersion is a Write access-level action in the lex service. Grants permission to create a new version of an existing bot

Resource types

ARNs that lex:CreateBotVersion can be scoped to in an IAM policy.

arn:${Partition}:lex:${Region}:${Account}:bot/${BotId}
bot

Condition keys

Keys you can use in the Condition block of a policy that grants lex:CreateBotVersion.

aws:ResourceTag/${TagKey} String

Filters access by the tags attached to a Lex resource

Example IAM policy

A minimal policy that allows lex:CreateBotVersion. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowLexCreateBotVersion",
      "Effect": "Allow",
      "Action": "lex:CreateBotVersion",
      "Resource": "*"
    }
  ]
}

Related actions in lex

View all lex actions →