kafka-cluster:WriteDataIdempotently

Write

kafka-cluster:WriteDataIdempotently is a Write access-level action in the kafka-cluster service. Grants permission to write data idempotently on a cluster, equivalent to Apache Kafka's IDEMPOTENT_WRITE CLUSTER ACL

Resource types

ARNs that kafka-cluster:WriteDataIdempotently can be scoped to in an IAM policy.

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

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Dependent actions

To use kafka-cluster:WriteDataIdempotently you may also need to grant:

Example IAM policy

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

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

Related actions in kafka-cluster

View all kafka-cluster actions →