kendra:TagResource

Tagging

kendra:TagResource is a Tagging access-level action in the kendra service. Grants permission to tag a resource with given key value pairs

Resource types

ARNs that kendra:TagResource 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:TagResource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in kendra

View all kendra actions →