kendra:ListTagsForResource

Read

kendra:ListTagsForResource is a Read access-level action in the kendra service. Grants permission to list tags for a resource

Resource types

ARNs that kendra:ListTagsForResource can be scoped to in an IAM policy.

arn:${Partition}:kendra:${Region}:${Account}:index/${IndexId}/data-source/${DataSourceId}
data-source
arn:${Partition}:kendra:${Region}:${Account}:index/${IndexId}/faq/${FaqId}
faq
arn:${Partition}:kendra:${Region}:${Account}:index/${IndexId}/featured-results-set/${FeaturedResultsSetId}
featured-results-set
arn:${Partition}:kendra:${Region}:${Account}:index/${IndexId}
index
arn:${Partition}:kendra:${Region}:${Account}:index/${IndexId}/query-suggestions-block-list/${QuerySuggestionsBlockListId}
query-suggestions-block-list
arn:${Partition}:kendra:${Region}:${Account}:index/${IndexId}/thesaurus/${ThesaurusId}
thesaurus

Condition keys

Keys you can use in the Condition block of a policy that grants kendra:ListTagsForResource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowKendraListTagsForResource",
      "Effect": "Allow",
      "Action": "kendra:ListTagsForResource",
      "Resource": "*"
    }
  ]
}

Related actions in kendra

View all kendra actions →