com.pulumi.awsnative.ecs.kotlin.enums.TaskSetScaleUnit.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.ecs.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The unit of measure for the scale value.
*/
public enum class TaskSetScaleUnit(
public val javaValue: com.pulumi.awsnative.ecs.enums.TaskSetScaleUnit,
) : ConvertibleToJava {
Percent(com.pulumi.awsnative.ecs.enums.TaskSetScaleUnit.Percent),
;
override fun toJava(): com.pulumi.awsnative.ecs.enums.TaskSetScaleUnit = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ecs.enums.TaskSetScaleUnit): TaskSetScaleUnit = TaskSetScaleUnit.values().first { it.javaValue == javaType }
}
}