@aws-cdk_aws-msk-alpha.TlsAuthProps

interface TlsAuthProps 🔹

LanguageType name
.NETAmazon.CDK.AWS.MSK.Alpha.TlsAuthProps
Gogithub.com/aws/aws-cdk-go/awscdkmskalpha/v2#TlsAuthProps
Javasoftware.amazon.awscdk.services.msk.alpha.TlsAuthProps
Pythonaws_cdk.aws_msk_alpha.TlsAuthProps
TypeScript (source)@aws-cdk/aws-msk-alpha » TlsAuthProps

TLS authentication properties.

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',
      ),
    ],
  }),
});

Properties

NameTypeDescription
certificateAuthorities?🔹ICertificateAuthority[]List of ACM Certificate Authorities to enable TLS authentication.

certificateAuthorities?🔹

Type: ICertificateAuthority[] (optional, default: none)

List of ACM Certificate Authorities to enable TLS authentication.