Interface ISaslTlsAuthProps
(experimental) SASL + TLS authentication properties.
Inherited Members
Namespace: Amazon.CDK.AWS.MSK.Alpha
Assembly: Amazon.CDK.AWS.MSK.Alpha.dll
Syntax (csharp)
public interface ISaslTlsAuthProps : ISaslAuthProps, ITlsAuthProps
Syntax (vb)
Public Interface ISaslTlsAuthProps
Inherits ISaslAuthProps, ITlsAuthProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.ACMPCA;
Vpc vpc;
var cluster = new Cluster(this, "Cluster", new ClusterProps {
ClusterName = "myCluster",
KafkaVersion = KafkaVersion.V3_8_X,
Vpc = vpc,
EncryptionInTransit = new EncryptionInTransitConfig {
ClientBroker = ClientBrokerEncryption.TLS
},
ClientAuthentication = ClientAuthentication.SaslTls(new SaslTlsAuthProps {
Iam = true,
CertificateAuthorities = new [] { CertificateAuthority.FromCertificateAuthorityArn(this, "CertificateAuthority", "arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111") }
})
});