Interface CfnCluster.IClientAuthenticationProperty
Includes all client authentication information.
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IClientAuthenticationProperty
Syntax (vb)
Public Interface IClientAuthenticationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MSK;
var clientAuthenticationProperty = new ClientAuthenticationProperty {
Sasl = new SaslProperty {
Iam = new IamProperty {
Enabled = false
},
Scram = new ScramProperty {
Enabled = false
}
},
Tls = new TlsProperty {
CertificateAuthorityArnList = new [] { "certificateAuthorityArnList" },
Enabled = false
},
Unauthenticated = new UnauthenticatedProperty {
Enabled = false
}
};
Synopsis
Properties
Sasl | Details for client authentication using SASL. |
Tls | Details for ClientAuthentication using TLS. |
Unauthenticated | Details for ClientAuthentication using no authentication. |
Properties
Sasl
Details for client authentication using SASL.
virtual object Sasl { get; }
Property Value
System.Object
Remarks
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.
Tls
Details for ClientAuthentication using TLS.
virtual object Tls { get; }
Property Value
System.Object
Remarks
To turn on TLS access control, you must also turn on EncryptionInTransit
by setting inCluster
to true and clientBroker
to TLS
.
Unauthenticated
Details for ClientAuthentication using no authentication.
virtual object Unauthenticated { get; }
Property Value
System.Object