All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.opsworks.kotlin.outputs.EcsClusterLayerLoadBasedAutoScalingUpscaling.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@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 EcsClusterLayerLoadBasedAutoScalingUpscaling(
    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.EcsClusterLayerLoadBasedAutoScalingUpscaling): EcsClusterLayerLoadBasedAutoScalingUpscaling = EcsClusterLayerLoadBasedAutoScalingUpscaling(
            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