package awscdkmskalpha // The settings for encrypting data in transit. // // Example: // import acmpca "github.com/aws/aws-cdk-go/awscdk" // // var vpc vpc // // cluster := msk.NewCluster(this, jsii.String("Cluster"), &ClusterProps{ // ClusterName: jsii.String("myCluster"), // KafkaVersion: msk.KafkaVersion_V2_8_1(), // Vpc: Vpc, // EncryptionInTransit: &EncryptionInTransitConfig{ // ClientBroker: msk.ClientBrokerEncryption_TLS, // }, // ClientAuthentication: msk.ClientAuthentication_Tls(&TlsAuthProps{ // CertificateAuthorities: []iCertificateAuthority{ // acmpca.CertificateAuthority_FromCertificateAuthorityArn(this, jsii.String("CertificateAuthority"), jsii.String("arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111")), // }, // }), // }) // // See: https://docs.aws.amazon.com/msk/latest/developerguide/msk-encryption.html#msk-encryption-in-transit // // Experimental. type EncryptionInTransitConfig struct { // Indicates the encryption setting for data in transit between clients and brokers. // Experimental. ClientBroker ClientBrokerEncryption `field:"optional" json:"clientBroker" yaml:"clientBroker"` // Indicates that data communication among the broker nodes of the cluster is encrypted. // Experimental. EnableInCluster *bool `field:"optional" json:"enableInCluster" yaml:"enableInCluster"` }