kafka:ListTagsForResource

Read

kafka:ListTagsForResource is a Read access-level action in the kafka service. Grants permission to list tags of an MSK resource

Resource types

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

arn:${Partition}:kafka:${Region}:${Account}:cluster/${ClusterName}/${Uuid}
cluster

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

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

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

Related actions in kafka

View all kafka actions →