Class ClientBrokerEncryption
(experimental) Indicates the encryption setting for data in transit between clients and brokers.
Inheritance
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.AWS.MSK.dll
Syntax (csharp)
public sealed class ClientBrokerEncryption : Enum
Syntax (vb)
Public NotInheritable Class ClientBrokerEncryption
Inherits
Enum
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
Fields
PLAINTEXT | (experimental) PLAINTEXT means that client-broker communication is enabled in plaintext only. |
TLS | (experimental) TLS means that client-broker communication is enabled with TLS only. |
TLS_PLAINTEXT | (experimental) TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data. |
value__ |
Fields
PLAINTEXT
(experimental) PLAINTEXT means that client-broker communication is enabled in plaintext only.
public const ClientBrokerEncryption PLAINTEXT
Field Value
Type | Description |
---|---|
ClientBrokerEncryption |
Remarks
Stability: Experimental
TLS
(experimental) TLS means that client-broker communication is enabled with TLS only.
public const ClientBrokerEncryption TLS
Field Value
Type | Description |
---|---|
ClientBrokerEncryption |
Remarks
Stability: Experimental
TLS_PLAINTEXT
(experimental) TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
public const ClientBrokerEncryption TLS_PLAINTEXT
Field Value
Type | Description |
---|---|
ClientBrokerEncryption |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |