enum ClientBrokerEncryption
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MSK.Alpha.ClientBrokerEncryption |
![]() | github.com/aws/aws-cdk-go/awscdkmskalpha/v2#ClientBrokerEncryption |
![]() | software.amazon.awscdk.services.msk.alpha.ClientBrokerEncryption |
![]() | aws_cdk.aws_msk_alpha.ClientBrokerEncryption |
![]() | @aws-cdk/aws-msk-alpha ยป ClientBrokerEncryption |
Indicates the encryption setting for data in transit between clients and brokers.
Example
import * as acmpca from 'aws-cdk-lib/aws-acmpca';
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.tls({
certificateAuthorities: [
acmpca.CertificateAuthority.fromCertificateAuthorityArn(
this,
'CertificateAuthority',
'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',
),
],
}),
});
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.