
com.pulumi.awsnative.kafkaconnect.kotlin.outputs.ConnectorProvisionedCapacity.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.kafkaconnect.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* Details about a fixed capacity allocated to a connector.
* @property mcuCount Specifies how many MSK Connect Units (MCU) are allocated to the connector.
* @property workerCount Number of workers for a connector.
*/
public data class ConnectorProvisionedCapacity(
public val mcuCount: Int? = null,
public val workerCount: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kafkaconnect.outputs.ConnectorProvisionedCapacity): ConnectorProvisionedCapacity = ConnectorProvisionedCapacity(
mcuCount = javaType.mcuCount().map({ args0 -> args0 }).orElse(null),
workerCount = javaType.workerCount(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy