KafkaClusterProperty Struct
Information about Kafka Cluster to be used as source / target for replication.
Example
ts
// 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 kafkaClusterProperty: msk.CfnReplicator.KafkaClusterProperty = {
amazonMskCluster: {
mskClusterArn: 'mskClusterArn',
},
apacheKafkaCluster: {
apacheKafkaClusterId: 'apacheKafkaClusterId',
bootstrapBrokerString: 'bootstrapBrokerString',
},
clientAuthentication: {
mtls: {
secretArn: 'secretArn',
},
saslOAuthBearer: {
tokenEndpointAuthenticationMethod: 'tokenEndpointAuthenticationMethod',
tokenEndpointUrl: 'tokenEndpointUrl',
// the properties below are optional
clientCredentials: {
tokenRequestSecretArn: 'tokenRequestSecretArn',
},
clientCredentialsAssertion: {
audience: 'audience',
signingAlgorithm: 'signingAlgorithm',
// the properties below are optional
tokenRequestSecretArn: 'tokenRequestSecretArn',
},
iamJwtBearer: {
audience: 'audience',
signingAlgorithm: 'signingAlgorithm',
// the properties below are optional
tokenRequestSecretArn: 'tokenRequestSecretArn',
},
scope: 'scope',
tokenEndpointTlsCertificateArn: 'tokenEndpointTlsCertificateArn',
},
saslScram: {
mechanism: 'mechanism',
secretArn: 'secretArn',
},
},
encryptionInTransit: {
encryptionType: 'encryptionType',
// the properties below are optional
rootCaCertificate: 'rootCaCertificate',
},
vpcConfig: {
subnetIds: ['subnetIds'],
// the properties below are optional
securityGroupIds: ['securityGroupIds'],
},
};
Properties
amazonMskClusteroptionalIResolvable | CfnReplicator.AmazonMskClusterPropertyamazon_msk_clusteroptionaltyping.Union[IResolvable, AmazonMskClusterProperty]amazonMskClusteroptionalIResolvableAmazonMskClusteroptionalIResolvableAmazonMskClusteroptionalinterface{}#Details of an Amazon MSK Cluster.
apacheKafkaClusteroptionalIResolvable | CfnReplicator.ApacheKafkaClusterPropertyapache_kafka_clusteroptionaltyping.Union[IResolvable, ApacheKafkaClusterProperty]apacheKafkaClusteroptionalIResolvableApacheKafkaClusteroptionalIResolvableApacheKafkaClusteroptionalinterface{}#Details of an Apache Kafka cluster.
clientAuthenticationoptionalIResolvable | CfnReplicator.KafkaClusterClientAuthenticationPropertyclient_authenticationoptionaltyping.Union[IResolvable, KafkaClusterClientAuthenticationProperty]clientAuthenticationoptionalIResolvableClientAuthenticationoptionalIResolvableClientAuthenticationoptionalinterface{}#Details of the client authentication used by the Apache Kafka cluster.
encryptionInTransitoptionalIResolvable | CfnReplicator.KafkaClusterEncryptionInTransitPropertyencryption_in_transitoptionaltyping.Union[IResolvable, KafkaClusterEncryptionInTransitProperty]encryptionInTransitoptionalIResolvableEncryptionInTransitoptionalIResolvableEncryptionInTransitoptionalinterface{}#Details of encryption in transit to the Apache Kafka cluster.
vpcConfigoptionalIResolvable | CfnReplicator.KafkaClusterClientVpcConfigPropertyvpc_configoptionaltyping.Union[IResolvable, KafkaClusterClientVpcConfigProperty]vpcConfigoptionalIResolvableVpcConfigoptionalIResolvableVpcConfigoptionalinterface{}#Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.