kafka:DescribeTopicPartitions

Read

kafka:DescribeTopicPartitions is a Read access-level action in the kafka service. Grants permission to list all partitions of a specific topic

Resource types

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

arn:${Partition}:kafka:${Region}:${Account}:topic/${ClusterName}/${ClusterUuid}/${TopicName}
topic

Condition keys

No condition keys are documented for this action.

Dependent actions

To use kafka:DescribeTopicPartitions you may also need to grant:

Example IAM policy

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

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

Related actions in kafka

View all kafka actions →