![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.autoscaling.kotlin.inputs.AutoScalingGroupMemoryGiBPerVCpuRequestArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.autoscaling.kotlin.inputs
import com.pulumi.awsnative.autoscaling.inputs.AutoScalingGroupMemoryGiBPerVCpuRequestArgs.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.Suppress
import kotlin.jvm.JvmName
/**
* ``MemoryGiBPerVCpuRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB.
* @property max The memory maximum in GiB.
* @property min The memory minimum in GiB.
*/
public data class AutoScalingGroupMemoryGiBPerVCpuRequestArgs(
public val max: Output? = null,
public val min: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.autoscaling.inputs.AutoScalingGroupMemoryGiBPerVCpuRequestArgs =
com.pulumi.awsnative.autoscaling.inputs.AutoScalingGroupMemoryGiBPerVCpuRequestArgs.builder()
.max(max?.applyValue({ args0 -> args0 }))
.min(min?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AutoScalingGroupMemoryGiBPerVCpuRequestArgs].
*/
@PulumiTagMarker
public class AutoScalingGroupMemoryGiBPerVCpuRequestArgsBuilder internal constructor() {
private var max: Output? = null
private var min: Output? = null
/**
* @param value The memory maximum in GiB.
*/
@JvmName("liwsnlyiltabjqyy")
public suspend fun max(`value`: Output) {
this.max = value
}
/**
* @param value The memory minimum in GiB.
*/
@JvmName("gdmhsdjoytlpwoqk")
public suspend fun min(`value`: Output) {
this.min = value
}
/**
* @param value The memory maximum in GiB.
*/
@JvmName("tmtffrsopteciteb")
public suspend fun max(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.max = mapped
}
/**
* @param value The memory minimum in GiB.
*/
@JvmName("gyqfudikgjbabltv")
public suspend fun min(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.min = mapped
}
internal fun build(): AutoScalingGroupMemoryGiBPerVCpuRequestArgs =
AutoScalingGroupMemoryGiBPerVCpuRequestArgs(
max = max,
min = min,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy