kafka:DescribeVpcConnection

Read

kafka:DescribeVpcConnection is a Read access-level action in the kafka service. Grants permission to describe a MSK VPC connection

Resource types

ARNs that kafka:DescribeVpcConnection can be scoped to in an IAM policy.

arn:${Partition}:kafka:${Region}:${VpcOwnerAccount}:vpc-connection/${ClusterOwnerAccount}/${ClusterName}/${Uuid}
vpc-connection

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in kafka

View all kafka actions →