AWS MSK Serverless
This page describes how to connect Lenses to an Amazon MSK Serverless cluster.
Last updated
Was this helpful?
Was this helpful?
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"kafka-cluster:Connect",
"kafka-cluster:AlterCluster",
"kafka-cluster:DescribeCluster"
],
"Resource": "arn:aws:kafka:[region]:[aws_account_id]:cluster/[cluster_name]/[cluster_uuid]/*"
},
{
"Effect": "Allow",
"Action": [
"kafka-cluster:DescribeTopic",
"kafka-cluster:CreateTopic",
"kafka-cluster:WriteData",
"kafka-cluster:ReadData"
],
"Resource": "arn:aws:kafka:[region]:[aws_account_id]:topic/[cluster_name]/[cluster_uuid]/*"
},
{
"Effect": "Allow",
"Action": [
"kafka-cluster:AlterGroup",
"kafka-cluster:DescribeGroup"
],
"Resource": "arn:aws:kafka:[region]:[aws_account_id]:group/[cluster_name]/[cluster_uuid]/*"
}
]
}kafka:
tags: ["optional-tag"]
name: kafka
configuration:
kafkaBootstrapServers:
value:
- SASL_SSL://your.kafka.broker.0:9098
- SASL_SSL://your.kafka.broker.1:9098
protocol:
value: SASL_SSL
saslMechanism:
value: AWS_MSK_IAM
saslJaasConfig:
value: software.amazon.msk.auth.iam.IAMLoginModule required;
additionalProperties:
value:
sasl.client.callback.handler.class: "software.amazon.msk.auth.iam.IAMClientCallbackHandle{
"Action": [
"kafka-cluster:*Topic*",
"kafka-cluster:WriteData",
"kafka-cluster:ReadData"
],
"Resource": "arn:aws:kafka:[region]:[aws_account_id]:cluster/[cluster_name]/[cluster_uuid]/*"
}{
"Action": [
"kafka-cluster:*Group*"
],
"Resource": "arn:aws:kafka:[region]:[aws_account_id]:cluster/[cluster_name]/[cluster_uuid]/*"
}{
"Action": [
"glue:DeregisterDataPreview",
"glue:ListRegistries",
"glue:CreateRegistry",
"glue:RegisterSchemaVersion",
"glue:GetRegistry",
"glue:UpdateRegistry",
"glue:ListSchemas",
"glue:DeleteRegistry",
"glue:GetSchema",
"glue:CreateSchema",
"glue:ListSchemaVersions",
"glue:GetSchemaVersion",
"glue:UpdateSchema",
"glue:DeleteSchemaVersions"
],
"Resource": [
"arn:aws:glue:[region]:[aws_account_id]:registry/*",
"arn:aws:glue:[region]:[aws_account_id]:schema/*"
]
}