AWSMSKReplicatorExecutionRole
Summary
Grants permissions to Amazon MSK Replicator to replicate data between MSK Clusters.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/service-role/AWSMSKReplicatorExecutionRole- Default version
- v2
- Created
- Last edited
- Services
- kafka-cluster
Control-plane actions (13)
By access level: 4 List, 1 Read, 8 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Apache Kafka APIs for MSK | 13 of 19 | 4 List, 1 Read, 8 Write; 13 restricted, 0 conditional | kafka-cluster:AlterCluster, kafka-cluster:AlterGroup, kafka-cluster:AlterTopic, kafka-cluster:AlterTopicDynamicConfiguration, kafka-cluster:Connect, kafka-cluster:CreateTopic, kafka-cluster:DescribeCluster, kafka-cluster:DescribeGroup, kafka-cluster:DescribeTopic, kafka-cluster:DescribeTopicDynamicConfiguration, kafka-cluster:ReadData, kafka-cluster:WriteData and 1 more |
Apache Kafka APIs for MSK: 13 actions
- kafka-cluster:AlterCluster (Write)
- kafka-cluster:AlterGroup (Write)
- kafka-cluster:AlterTopic (Write)
- kafka-cluster:AlterTopicDynamicConfiguration (Write)
- kafka-cluster:Connect (Write)
- kafka-cluster:CreateTopic (Write)
- kafka-cluster:DescribeCluster (List)
- kafka-cluster:DescribeGroup (List)
- kafka-cluster:DescribeTopic (List)
- kafka-cluster:DescribeTopicDynamicConfiguration (List)
- kafka-cluster:ReadData (Read)
- kafka-cluster:WriteData (Write)
- kafka-cluster:WriteDataIdempotently (Write)
Data-plane actions (0)
By access level: none.
This policy grants no actions in this plane.
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: scoped.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 8 write, tagging or permissions-management actions, short of full control of any service.
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ClusterPermissions",
"Effect": "Allow",
"Action": [
"kafka-cluster:Connect",
"kafka-cluster:DescribeCluster",
"kafka-cluster:AlterCluster",
"kafka-cluster:DescribeTopic",
"kafka-cluster:CreateTopic",
"kafka-cluster:AlterTopic",
"kafka-cluster:WriteData",
"kafka-cluster:ReadData",
"kafka-cluster:AlterGroup",
"kafka-cluster:DescribeGroup",
"kafka-cluster:DescribeTopicDynamicConfiguration",
"kafka-cluster:AlterTopicDynamicConfiguration",
"kafka-cluster:WriteDataIdempotently"
],
"Resource": [
"arn:aws:kafka:*:*:cluster/*"
]
},
{
"Sid": "TopicPermissions",
"Effect": "Allow",
"Action": [
"kafka-cluster:DescribeTopic",
"kafka-cluster:CreateTopic",
"kafka-cluster:AlterTopic",
"kafka-cluster:WriteData",
"kafka-cluster:ReadData",
"kafka-cluster:DescribeTopicDynamicConfiguration",
"kafka-cluster:AlterTopicDynamicConfiguration",
"kafka-cluster:AlterCluster"
],
"Resource": [
"arn:aws:kafka:*:*:topic/*/*"
]
},
{
"Sid": "GroupPermissions",
"Effect": "Allow",
"Action": [
"kafka-cluster:AlterGroup",
"kafka-cluster:DescribeGroup"
],
"Resource": [
"arn:aws:kafka:*:*:group/*/*"
]
}
]
}
Version history
Current version v2, edited by AWS on 2024-03-25. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSMSKReplicatorExecutionRole
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSMSKReplicatorExecutionRole
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSMSKReplicatorExecutionRoleCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AWSMSKReplicatorExecutionRoleTerraform
resource "aws_iam_role_policy_attachment" "service_role_awsmskreplicatorexecutionrole" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/service-role/AWSMSKReplicatorExecutionRole"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AWSMSKReplicatorExecutionRole"),
);Sources
Pending editorial review. No editorial sources are listed yet.