![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.msk.kotlin.ReplicatorArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.msk.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.msk.ReplicatorArgs.builder
import com.pulumi.awsnative.msk.kotlin.inputs.ReplicatorKafkaClusterArgs
import com.pulumi.awsnative.msk.kotlin.inputs.ReplicatorKafkaClusterArgsBuilder
import com.pulumi.awsnative.msk.kotlin.inputs.ReplicatorReplicationInfoArgs
import com.pulumi.awsnative.msk.kotlin.inputs.ReplicatorReplicationInfoArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::MSK::Replicator
* @property currentVersion The current version of the MSK replicator.
* @property description A summary description of the replicator.
* @property kafkaClusters Specifies a list of Kafka clusters which are targets of the replicator.
* @property replicationInfoList A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
* @property replicatorName The name of the replicator.
* @property serviceExecutionRoleArn The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources.
* @property tags A collection of tags associated with a resource
*/
public data class ReplicatorArgs(
public val currentVersion: Output? = null,
public val description: Output? = null,
public val kafkaClusters: Output>? = null,
public val replicationInfoList: Output>? = null,
public val replicatorName: Output? = null,
public val serviceExecutionRoleArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.msk.ReplicatorArgs =
com.pulumi.awsnative.msk.ReplicatorArgs.builder()
.currentVersion(currentVersion?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.kafkaClusters(
kafkaClusters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.replicationInfoList(
replicationInfoList?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.replicatorName(replicatorName?.applyValue({ args0 -> args0 }))
.serviceExecutionRoleArn(serviceExecutionRoleArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ReplicatorArgs].
*/
@PulumiTagMarker
public class ReplicatorArgsBuilder internal constructor() {
private var currentVersion: Output? = null
private var description: Output? = null
private var kafkaClusters: Output>? = null
private var replicationInfoList: Output>? = null
private var replicatorName: Output? = null
private var serviceExecutionRoleArn: Output? = null
private var tags: Output>? = null
/**
* @param value The current version of the MSK replicator.
*/
@JvmName("swqwqdcexmxvichf")
public suspend fun currentVersion(`value`: Output) {
this.currentVersion = value
}
/**
* @param value A summary description of the replicator.
*/
@JvmName("dwfysklmgmedtnbj")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Specifies a list of Kafka clusters which are targets of the replicator.
*/
@JvmName("ynbxggefmuyoippi")
public suspend fun kafkaClusters(`value`: Output>) {
this.kafkaClusters = value
}
@JvmName("dfjtvckidjyqjdqp")
public suspend fun kafkaClusters(vararg values: Output) {
this.kafkaClusters = Output.all(values.asList())
}
/**
* @param values Specifies a list of Kafka clusters which are targets of the replicator.
*/
@JvmName("hqdttnahjwwqrbfm")
public suspend fun kafkaClusters(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy