com.pulumi.awsnative.kafkaconnect.kotlin.outputs.ConnectorScaleOutPolicy.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
/**
* Information about the scale out policy of the connector.
* @property cpuUtilizationPercentage Specifies the CPU utilization percentage threshold at which connector scale out should trigger.
*/
public data class ConnectorScaleOutPolicy(
public val cpuUtilizationPercentage: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kafkaconnect.outputs.ConnectorScaleOutPolicy): ConnectorScaleOutPolicy = ConnectorScaleOutPolicy(
cpuUtilizationPercentage = javaType.cpuUtilizationPercentage(),
)
}
}