interface SaslProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MSK.CfnCluster.SaslProperty |
Java | software.amazon.awscdk.services.msk.CfnCluster.SaslProperty |
Python | aws_cdk.aws_msk.CfnCluster.SaslProperty |
TypeScript | @aws-cdk/aws-msk » CfnCluster » 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 * as msk from '@aws-cdk/aws-msk';
const saslProperty: msk.CfnCluster.SaslProperty = {
iam: {
enabled: false,
},
scram: {
enabled: false,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| iam? | IResolvable | Iam | Details for ClientAuthentication using IAM. |
| scram? | IResolvable | Scram | Details for SASL/SCRAM client authentication. |
iam?
Type:
IResolvable | Iam
(optional)
Details for ClientAuthentication using IAM.
scram?
Type:
IResolvable | Scram
(optional)
Details for SASL/SCRAM client authentication.

.NET
Java
Python
TypeScript