Enum ClientBrokerEncryption
(experimental) Indicates the encryption setting for data in transit between clients and brokers.
Namespace: Amazon.CDK.AWS.MSK.Alpha
Assembly: Amazon.CDK.AWS.MSK.Alpha.dll
Syntax (csharp)
public enum ClientBrokerEncryption
Syntax (vb)
Public Enum ClientBrokerEncryption
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.V4_0_X_KRAFT,
Vpc = vpc,
EncryptionInTransit = new EncryptionInTransitConfig {
ClientBroker = ClientBrokerEncryption.TLS
},
ClientAuthentication = ClientAuthentication.Tls(new TlsAuthProps {
CertificateAuthorities = new [] { CertificateAuthority.FromCertificateAuthorityArn(this, "CertificateAuthority", "arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111") }
})
});
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. |
Fields
Name | Description |
---|---|
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. |