com.pulumi.aws.opsworks.kotlin.inputs.MemcachedLayerLoadBasedAutoScalingDownscalingArgs.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.inputs
import com.pulumi.aws.opsworks.inputs.MemcachedLayerLoadBasedAutoScalingDownscalingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property alarms
* @property cpuThreshold
* @property ignoreMetricsTime
* @property instanceCount
* @property loadThreshold
* @property memoryThreshold
* @property thresholdsWaitTime
*/
public data class MemcachedLayerLoadBasedAutoScalingDownscalingArgs(
public val alarms: Output>? = null,
public val cpuThreshold: Output? = null,
public val ignoreMetricsTime: Output? = null,
public val instanceCount: Output? = null,
public val loadThreshold: Output? = null,
public val memoryThreshold: Output? = null,
public val thresholdsWaitTime: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.opsworks.inputs.MemcachedLayerLoadBasedAutoScalingDownscalingArgs =
com.pulumi.aws.opsworks.inputs.MemcachedLayerLoadBasedAutoScalingDownscalingArgs.builder()
.alarms(alarms?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.cpuThreshold(cpuThreshold?.applyValue({ args0 -> args0 }))
.ignoreMetricsTime(ignoreMetricsTime?.applyValue({ args0 -> args0 }))
.instanceCount(instanceCount?.applyValue({ args0 -> args0 }))
.loadThreshold(loadThreshold?.applyValue({ args0 -> args0 }))
.memoryThreshold(memoryThreshold?.applyValue({ args0 -> args0 }))
.thresholdsWaitTime(thresholdsWaitTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MemcachedLayerLoadBasedAutoScalingDownscalingArgs].
*/
@PulumiTagMarker
public class MemcachedLayerLoadBasedAutoScalingDownscalingArgsBuilder internal constructor() {
private var alarms: Output>? = null
private var cpuThreshold: Output? = null
private var ignoreMetricsTime: Output? = null
private var instanceCount: Output? = null
private var loadThreshold: Output? = null
private var memoryThreshold: Output? = null
private var thresholdsWaitTime: Output? = null
/**
* @param value
*/
@JvmName("twajqwljwkvkvtbq")
public suspend fun alarms(`value`: Output>) {
this.alarms = value
}
@JvmName("iagluqovfeiswqqm")
public suspend fun alarms(vararg values: Output) {
this.alarms = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("mnhygwamwtdrdrlp")
public suspend fun alarms(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy