Actions, resources, and condition keys for Apache Kafka APIs for Amazon MSK clusters
Apache Kafka APIs for Amazon MSK clusters (service prefix: kafka-cluster) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
Actions defined by Apache Kafka APIs for Amazon MSK clusters
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in Amazon. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to alter various aspects of the cluster, equivalent to Apache Kafka's ALTER CLUSTER ACL |
Write |
|||
Grants permission to alter the dynamic configuration of a cluster, equivalent to Apache Kafka's ALTER_CONFIGS CLUSTER ACL |
Write |
|||
Grants permission to join groups on a cluster, equivalent to Apache Kafka's READ GROUP ACL |
Write |
|||
Grants permission to alter topics on a cluster, equivalent to Apache Kafka's ALTER TOPIC ACL |
Write |
|||
Grants permission to alter the dynamic configuration of topics on a cluster, equivalent to Apache Kafka's ALTER_CONFIGS TOPIC ACL |
Write |
|||
Grants permission to alter transactional IDs on a cluster, equivalent to Apache Kafka's WRITE TRANSACTIONAL_ID ACL |
Write |
|||
Grants permission to connect and authenticate to the cluster |
Write |
|||
Grants permission to create topics on a cluster, equivalent to Apache Kafka's CREATE CLUSTER/TOPIC ACL |
Write |
|||
Grants permission to delete groups on a cluster, equivalent to Apache Kafka's DELETE GROUP ACL |
Write |
|||
Grants permission to delete topics on a cluster, equivalent to Apache Kafka's DELETE TOPIC ACL |
Write |
|||
Grants permission to describe various aspects of the cluster, equivalent to Apache Kafka's DESCRIBE CLUSTER ACL |
List |
|||
Grants permission to describe the dynamic configuration of a cluster, equivalent to Apache Kafka's DESCRIBE_CONFIGS CLUSTER ACL |
List |
|||
Grants permission to describe groups on a cluster, equivalent to Apache Kafka's DESCRIBE GROUP ACL |
List |
|||
Grants permission to describe topics on a cluster, equivalent to Apache Kafka's DESCRIBE TOPIC ACL |
List |
|||
Grants permission to describe the dynamic configuration of topics on a cluster, equivalent to Apache Kafka's DESCRIBE_CONFIGS TOPIC ACL |
List |
|||
Grants permission to describe transactional IDs on a cluster, equivalent to Apache Kafka's DESCRIBE TRANSACTIONAL_ID ACL |
List |
|||
Grants permission to read data from topics on a cluster, equivalent to Apache Kafka's READ TOPIC ACL |
Read |
|||
Grants permission to write data to topics on a cluster, equivalent to Apache Kafka's WRITE TOPIC ACL |
Write |
|||
Grants permission to write data idempotently on a cluster, equivalent to Apache Kafka's IDEMPOTENT_WRITE CLUSTER ACL |
Write |
Resource types defined by Apache Kafka APIs for Amazon MSK clusters
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:kafka:${Region}:${Account}:cluster/${ClusterName}/${ClusterUuid} |
||
arn:${Partition}:kafka:${Region}:${Account}:group/${ClusterName}/${ClusterUuid}/${GroupName} |
||
arn:${Partition}:kafka:${Region}:${Account}:topic/${ClusterName}/${ClusterUuid}/${TopicName} |
||
arn:${Partition}:kafka:${Region}:${Account}:transactional-id/${ClusterName}/${ClusterUuid}/${TransactionalId} |
Condition keys for Apache Kafka APIs for Amazon MSK clusters
Apache Kafka APIs for Amazon MSK clusters defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters actions based on tag key-value pairs attached to the resource. The resource tag context key will only apply to the cluster resource, not topics, groups and transactional IDs |
String |