enum ClientBrokerEncryption
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MSK.ClientBrokerEncryption |
![]() | software.amazon.awscdk.services.msk.ClientBrokerEncryption |
![]() | aws_cdk.aws_msk.ClientBrokerEncryption |
![]() | @aws-cdk/aws-msk » ClientBrokerEncryption |
Indicates the encryption setting for data in transit between clients and brokers.
Example
declare const vpc: ec2.Vpc;
const cluster = new msk.Cluster(this, 'cluster', {
clusterName: 'myCluster',
kafkaVersion: msk.KafkaVersion.V2_8_1,
vpc,
encryptionInTransit: {
clientBroker: msk.ClientBrokerEncryption.TLS,
},
clientAuthentication: msk.ClientAuthentication.sasl({
scram: true,
}),
});
Members
Name | Description |
---|---|
TLS | TLS means that client-broker communication is enabled with TLS only. |
TLS_PLAINTEXT | TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data. |
PLAINTEXT | PLAINTEXT means that client-broker communication is enabled in plaintext only. |
TLS
TLS means that client-broker communication is enabled with TLS only.
TLS_PLAINTEXT
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
PLAINTEXT
PLAINTEXT means that client-broker communication is enabled in plaintext only.