lex:StartImport

Write

lex:StartImport is a Write access-level action in the lex service. Grants permission to start a new import with the uploaded import file

Resource types

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

arn:${Partition}:lex:${Region}:${Account}:bot/${BotId}
bot
arn:${Partition}:lex:${Region}:${Account}:bot-alias/${BotId}/${BotAliasId}
bot alias
arn:${Partition}:lex:${Region}:${Account}:test-set/${TestSetId}
test set

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags attached to a Lex resource

Dependent actions

To use lex:StartImport you may also need to grant:

Example IAM policy

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

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

Related actions in lex

View all lex actions →