kafka:CreateCluster

Write

kafka:CreateCluster is a Write access-level action in the kafka service. Grants permission to create an MSK cluster

Resource types

ARNs that kafka:CreateCluster 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:CreateCluster.

aws:ResourceTag/${TagKey} String

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

Dependent actions

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

Example IAM policy

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

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

Related actions in kafka

View all kafka actions →