aws-msk-alpha: Cluster enforces incorrect authentication constraint #32779
Labels
@aws-cdk/aws-msk
Related to Amazon Managed Streaming for Apache Kafka (Amazon MSK)
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Describe the bug
The
Cluster
construct in theaws-msk-alpha
package currently enforces an erroneous authentication constraint on line 499-504.The current version prevents SCRAM and IAM authentication from being configured at the same time on the cluster. This behavior is incorrect. Amazon MSK allows multiple authentication modes and cluster can be configured in the AWS Console as such (see screenshot).
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Allow MSK cluster to be configured with both IAM and SCRAM auth at the same time.
Current Behavior
Raises an exception stating
Only one client authentication method can be enabled.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.174.0 (build 9604329)
Framework Version
No response
Node.js Version
v23.5
OS
MacOs
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: