aws-cdk-lib.aws_msk.CfnCluster.EncryptionInTransitProperty

interface EncryptionInTransitProperty

LanguageType name
.NETAmazon.CDK.AWS.MSK.CfnCluster.EncryptionInTransitProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnCluster_EncryptionInTransitProperty
Javasoftware.amazon.awscdk.services.msk.CfnCluster.EncryptionInTransitProperty
Pythonaws_cdk.aws_msk.CfnCluster.EncryptionInTransitProperty
TypeScript aws-cdk-lib » aws_msk » CfnCluster » EncryptionInTransitProperty

The settings for encrypting data in transit.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const encryptionInTransitProperty: msk.CfnCluster.EncryptionInTransitProperty = {
  clientBroker: 'clientBroker',
  inCluster: false,
};

Properties

NameTypeDescription
clientBroker?stringIndicates the encryption setting for data in transit between clients and brokers.
inCluster?boolean | IResolvableWhen set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.

clientBroker?

Type: string (optional)

Indicates the encryption setting for data in transit between clients and brokers.

You must set it to one of the following values.

TLS means that client-broker communication is enabled with TLS only.

TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.

PLAINTEXT means that client-broker communication is enabled in plaintext only.

The default value is TLS .


inCluster?

Type: boolean | IResolvable (optional)

When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.

When set to false, the communication happens in plaintext.

The default value is true.