aws-cdk-lib.aws_msk.CfnCluster.SaslProperty

interface SaslProperty

LanguageType name
.NETAmazon.CDK.AWS.MSK.CfnCluster.SaslProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnCluster_SaslProperty
Javasoftware.amazon.awscdk.services.msk.CfnCluster.SaslProperty
Pythonaws_cdk.aws_msk.CfnCluster.SaslProperty
TypeScript aws-cdk-lib » 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 { aws_msk as msk } from 'aws-cdk-lib';
const saslProperty: msk.CfnCluster.SaslProperty = {
  iam: {
    enabled: false,
  },
  scram: {
    enabled: false,
  },
};

Properties

NameTypeDescription
iam?IResolvable | IamPropertyDetails for ClientAuthentication using IAM.
scram?IResolvable | ScramPropertyDetails for SASL/SCRAM client authentication.

iam?

Type: IResolvable | IamProperty (optional)

Details for ClientAuthentication using IAM.


scram?

Type: IResolvable | ScramProperty (optional)

Details for SASL/SCRAM client authentication.