Class CfnCluster.SaslProperty
Details for client authentication using SASL.
Inheritance
System.Object
CfnCluster.SaslProperty
Implements
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SaslProperty : Object, CfnCluster.ISaslProperty
Syntax (vb)
Public Class SaslProperty
Inherits Object
Implements CfnCluster.ISaslProperty
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.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-sasl.html
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 saslProperty = new SaslProperty {
Iam = new IamProperty {
Enabled = false
},
Scram = new ScramProperty {
Enabled = false
}
};
Synopsis
Constructors
SaslProperty() |
Properties
Iam | Details for ClientAuthentication using IAM. |
Scram | Details for SASL/SCRAM client authentication. |
Constructors
SaslProperty()
public SaslProperty()
Properties
Iam
Details for ClientAuthentication using IAM.
public object Iam { get; set; }
Property Value
System.Object
Remarks
Scram
Details for SASL/SCRAM client authentication.
public object Scram { get; set; }
Property Value
System.Object