interface SaslProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MSK.CfnServerlessCluster.SaslProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnServerlessCluster_SaslProperty |
Java | software.amazon.awscdk.services.msk.CfnServerlessCluster.SaslProperty |
Python | aws_cdk.aws_msk.CfnServerlessCluster.SaslProperty |
TypeScript | aws-cdk-lib » aws_msk » CfnServerlessCluster » SaslProperty |
Details for client authentication using SASL.
To turn on SASL, you must also turn on EncryptionInTransit by setting inCluster to true. You must set clientBroker to either TLS or TLS_PLAINTEXT . If you choose TLS_PLAINTEXT , then you must also set unauthenticated to true.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const saslProperty: msk.CfnServerlessCluster.SaslProperty = {
iam: {
enabled: false,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| iam | IResolvable | Iam | Details for ClientAuthentication using IAM. |
iam
Type:
IResolvable | Iam
Details for ClientAuthentication using IAM.

.NET
Go
Java
Python
TypeScript