
com.pulumi.awsnative.gamelift.kotlin.enums.FleetScalingPolicyStatus.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.gamelift.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Current status of the scaling policy. The scaling policy can be in force only when in an ACTIVE status. Scaling policies can be suspended for individual fleets. If the policy is suspended for a fleet, the policy status does not change.
*/
public enum class FleetScalingPolicyStatus(
public val javaValue: com.pulumi.awsnative.gamelift.enums.FleetScalingPolicyStatus,
) : ConvertibleToJava {
Active(com.pulumi.awsnative.gamelift.enums.FleetScalingPolicyStatus.Active),
UpdateRequested(com.pulumi.awsnative.gamelift.enums.FleetScalingPolicyStatus.UpdateRequested),
Updating(com.pulumi.awsnative.gamelift.enums.FleetScalingPolicyStatus.Updating),
DeleteRequested(com.pulumi.awsnative.gamelift.enums.FleetScalingPolicyStatus.DeleteRequested),
Deleting(com.pulumi.awsnative.gamelift.enums.FleetScalingPolicyStatus.Deleting),
Deleted(com.pulumi.awsnative.gamelift.enums.FleetScalingPolicyStatus.Deleted),
Error(com.pulumi.awsnative.gamelift.enums.FleetScalingPolicyStatus.Error),
;
override fun toJava(): com.pulumi.awsnative.gamelift.enums.FleetScalingPolicyStatus = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.gamelift.enums.FleetScalingPolicyStatus): FleetScalingPolicyStatus =
FleetScalingPolicyStatus.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy