The CDK Construct Library for AWS::MSK provides resource definitions for Amazon Managed Streaming for Apache Kafka (MSK). Currently at version 2.258.0a0, it is part of the AWS CDK Alpha module set, which may undergo breaking changes without notice. Requires Python >=3.10.
pip install aws-cdk-aws-msk-alphaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a basic MSK cluster in a VPC with two broker nodes.
Use `aws-cdk-aws-msk-alpha==2.258.0a0` in requirements.txt.
Check the reference docs at https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_msk_alpha.html.
Set `encryption_in_transit=EncryptionInTransitConfig(client_broker=ClientBrokerEncryption.TLS)` and `iam_auth=True`.
Run `pip install aws-cdk-aws-msk-alpha` and ensure Python >=3.10.
This is a known SDK limitation; ensure you are using the latest CDK CLI and installed the package correctly.
Update the package: `pip install --upgrade aws-cdk-aws-msk-alpha` and adjust code to current API.