lex:DeleteSlotType

Write

lex:DeleteSlotType is a Write access-level action in the lex service. Grants permission to delete an existing slot type in a bot locale

Resource types

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

arn:${Partition}:lex:${Region}:${Account}:bot/${BotId} required
bot
arn:${Partition}:lex:${Region}:${Account}:bot:${BotName} required
bot
arn:${Partition}:lex:${Region}:${Account}:slottype:${SlotName}:${SlotVersion} required
slottype version

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags attached to a Lex resource

Example IAM policy

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

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

Related actions in lex

View all lex actions →