lex:GetBotChannelAssociations

List

lex:GetBotChannelAssociations is a List access-level action in the lex service. Returns a list of all of the channels associated with a single bot

Resource types

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

arn:${Partition}:lex:${Region}:${Account}:bot-channel:${BotName}:${BotAlias}:${ChannelName}
channel

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags attached to a Lex resource

Example IAM policy

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

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

Related actions in lex

View all lex actions →