KafkaServiceRolePolicy - AWS Managed Policy

KafkaServiceRolePolicy

Description: IAM service linked role policy for Kafka.

KafkaServiceRolePolicy is an AWS managed policy.

Using this policy

This policy is attached to a service-linked role that allows the service to perform actions on your behalf. You cannot attach this policy to your users, groups, or roles.

Policy details

  • Type: Service-linked role policy

  • Creation time: November 15, 2018, 23:31 UTC

  • Edited time: April 28, 2023, 00:39 UTC

  • ARN: arn:aws:iam::aws:policy/aws-service-role/KafkaServiceRolePolicy

Policy version

Policy version: v4 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy document

{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "ec2:CreateNetworkInterface", "ec2:DescribeNetworkInterfaces", "ec2:CreateNetworkInterfacePermission", "ec2:AttachNetworkInterface", "ec2:DeleteNetworkInterface", "ec2:DetachNetworkInterface", "ec2:DescribeVpcEndpoints", "acm-pca:GetCertificateAuthorityCertificate", "secretsmanager:ListSecrets" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "ec2:ModifyVpcEndpoint" ], "Resource" : "arn:*:ec2:*:*:subnet/*" }, { "Effect" : "Allow", "Action" : [ "ec2:DeleteVpcEndpoints", "ec2:ModifyVpcEndpoint" ], "Resource" : "arn:*:ec2:*:*:vpc-endpoint/*", "Condition" : { "StringEquals" : { "ec2:ResourceTag/AWSMSKManaged" : "true" }, "StringLike" : { "ec2:ResourceTag/ClusterArn" : "*" } } }, { "Effect" : "Allow", "Action" : [ "secretsmanager:GetResourcePolicy", "secretsmanager:PutResourcePolicy", "secretsmanager:DeleteResourcePolicy", "secretsmanager:DescribeSecret" ], "Resource" : "*", "Condition" : { "ArnLike" : { "secretsmanager:SecretId" : "arn:*:secretsmanager:*:*:secret:AmazonMSK_*" } } } ] }

Learn more