
com.pulumi.awsnative.msk.kotlin.outputs.ReplicatorTopicReplication.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.msk.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property copyAccessControlListsForTopics Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
* @property copyTopicConfigurations Whether to periodically configure remote topics to match their corresponding upstream topics.
* @property detectAndCopyNewTopics Whether to periodically check for new topics and partitions.
* @property startingPosition Configuration for specifying the position in the topics to start replicating from.
* @property topicsToExclude List of regular expression patterns indicating the topics that should not be replicated.
* @property topicsToReplicate List of regular expression patterns indicating the topics to copy.
*/
public data class ReplicatorTopicReplication(
public val copyAccessControlListsForTopics: Boolean? = null,
public val copyTopicConfigurations: Boolean? = null,
public val detectAndCopyNewTopics: Boolean? = null,
public val startingPosition: ReplicatorReplicationStartingPosition? = null,
public val topicsToExclude: List? = null,
public val topicsToReplicate: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.msk.outputs.ReplicatorTopicReplication): ReplicatorTopicReplication = ReplicatorTopicReplication(
copyAccessControlListsForTopics = javaType.copyAccessControlListsForTopics().map({ args0 ->
args0
}).orElse(null),
copyTopicConfigurations = javaType.copyTopicConfigurations().map({ args0 -> args0 }).orElse(null),
detectAndCopyNewTopics = javaType.detectAndCopyNewTopics().map({ args0 -> args0 }).orElse(null),
startingPosition = javaType.startingPosition().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.msk.kotlin.outputs.ReplicatorReplicationStartingPosition.Companion.toKotlin(args0)
})
}).orElse(null),
topicsToExclude = javaType.topicsToExclude().map({ args0 -> args0 }),
topicsToReplicate = javaType.topicsToReplicate().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy