com.pulumi.aws.opsworks.kotlin.outputs.PhpAppLayerLoadBasedAutoScalingDownscaling.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.opsworks.kotlin.outputs
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property alarms
* @property cpuThreshold
* @property ignoreMetricsTime
* @property instanceCount
* @property loadThreshold
* @property memoryThreshold
* @property thresholdsWaitTime
*/
public data class PhpAppLayerLoadBasedAutoScalingDownscaling(
public val alarms: List? = null,
public val cpuThreshold: Double? = null,
public val ignoreMetricsTime: Int? = null,
public val instanceCount: Int? = null,
public val loadThreshold: Double? = null,
public val memoryThreshold: Double? = null,
public val thresholdsWaitTime: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.opsworks.outputs.PhpAppLayerLoadBasedAutoScalingDownscaling): PhpAppLayerLoadBasedAutoScalingDownscaling = PhpAppLayerLoadBasedAutoScalingDownscaling(
alarms = javaType.alarms().map({ args0 -> args0 }),
cpuThreshold = javaType.cpuThreshold().map({ args0 -> args0 }).orElse(null),
ignoreMetricsTime = javaType.ignoreMetricsTime().map({ args0 -> args0 }).orElse(null),
instanceCount = javaType.instanceCount().map({ args0 -> args0 }).orElse(null),
loadThreshold = javaType.loadThreshold().map({ args0 -> args0 }).orElse(null),
memoryThreshold = javaType.memoryThreshold().map({ args0 -> args0 }).orElse(null),
thresholdsWaitTime = javaType.thresholdsWaitTime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy