Class ClientAuthentication
(experimental) Configuration properties for client authentication.
Inheritance
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.AWS.MSK.dll
Syntax (csharp)
public class ClientAuthentication : DeputyBase
Syntax (vb)
Public Class ClientAuthentication
Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Vpc vpc;
var cluster = new Cluster(this, "cluster", new ClusterProps {
ClusterName = "myCluster",
KafkaVersion = KafkaVersion.V2_8_1,
Vpc = vpc,
EncryptionInTransit = new EncryptionInTransitConfig {
ClientBroker = ClientBrokerEncryption.TLS
},
ClientAuthentication = ClientAuthentication.Sasl(new SaslAuthProps {
Scram = true
})
});
Synopsis
Constructors
ClientAuthentication(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ClientAuthentication(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
SaslProps | (experimental) - properties for SASL authentication. |
TlsProps | (experimental) - properties for TLS authentication. |
Methods
Sasl(ISaslAuthProps) | (experimental) SASL authentication. |
Tls(ITlsAuthProps) | (experimental) TLS authentication. |
Constructors
ClientAuthentication(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ClientAuthentication(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ClientAuthentication(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ClientAuthentication(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
SaslProps
(experimental) - properties for SASL authentication.
public virtual ISaslAuthProps SaslProps { get; }
Property Value
Remarks
Stability: Experimental
TlsProps
(experimental) - properties for TLS authentication.
public virtual ITlsAuthProps TlsProps { get; }
Property Value
Remarks
Stability: Experimental
Methods
Sasl(ISaslAuthProps)
(experimental) SASL authentication.
public static ClientAuthentication Sasl(ISaslAuthProps props)
Parameters
- props ISaslAuthProps
Returns
Remarks
Stability: Experimental
Tls(ITlsAuthProps)
(experimental) TLS authentication.
public static ClientAuthentication Tls(ITlsAuthProps props)
Parameters
- props ITlsAuthProps
Returns
Remarks
Stability: Experimental