
com.pulumi.awsnative.msk.kotlin.outputs.ReplicatorReplicationInfo.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.msk.kotlin.outputs
import com.pulumi.awsnative.msk.kotlin.enums.ReplicatorReplicationInfoTargetCompressionType
import kotlin.String
import kotlin.Suppress
/**
* Specifies configuration for replication between a source and target Kafka cluster.
* @property consumerGroupReplication Configuration relating to consumer group replication.
* @property sourceKafkaClusterArn Amazon Resource Name of the source Kafka cluster.
* @property targetCompressionType The type of compression to use writing records to target Kafka cluster.
* @property targetKafkaClusterArn Amazon Resource Name of the target Kafka cluster.
* @property topicReplication Configuration relating to topic replication.
*/
public data class ReplicatorReplicationInfo(
public val consumerGroupReplication: ReplicatorConsumerGroupReplication,
public val sourceKafkaClusterArn: String,
public val targetCompressionType: ReplicatorReplicationInfoTargetCompressionType,
public val targetKafkaClusterArn: String,
public val topicReplication: ReplicatorTopicReplication,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.msk.outputs.ReplicatorReplicationInfo): ReplicatorReplicationInfo = ReplicatorReplicationInfo(
consumerGroupReplication = javaType.consumerGroupReplication().let({ args0 ->
com.pulumi.awsnative.msk.kotlin.outputs.ReplicatorConsumerGroupReplication.Companion.toKotlin(args0)
}),
sourceKafkaClusterArn = javaType.sourceKafkaClusterArn(),
targetCompressionType = javaType.targetCompressionType().let({ args0 ->
com.pulumi.awsnative.msk.kotlin.enums.ReplicatorReplicationInfoTargetCompressionType.Companion.toKotlin(args0)
}),
targetKafkaClusterArn = javaType.targetKafkaClusterArn(),
topicReplication = javaType.topicReplication().let({ args0 ->
com.pulumi.awsnative.msk.kotlin.outputs.ReplicatorTopicReplication.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy