
com.pulumi.awsnative.autoscaling.kotlin.inputs.AutoScalingGroupAcceleratorCountRequestArgs.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.autoscaling.kotlin.inputs
import com.pulumi.awsnative.autoscaling.inputs.AutoScalingGroupAcceleratorCountRequestArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* ``AcceleratorCountRequest`` 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 number of accelerators for an instance type.
* @property max The maximum value.
* @property min The minimum value.
*/
public data class AutoScalingGroupAcceleratorCountRequestArgs(
public val max: Output? = null,
public val min: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.autoscaling.inputs.AutoScalingGroupAcceleratorCountRequestArgs =
com.pulumi.awsnative.autoscaling.inputs.AutoScalingGroupAcceleratorCountRequestArgs.builder()
.max(max?.applyValue({ args0 -> args0 }))
.min(min?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AutoScalingGroupAcceleratorCountRequestArgs].
*/
@PulumiTagMarker
public class AutoScalingGroupAcceleratorCountRequestArgsBuilder internal constructor() {
private var max: Output? = null
private var min: Output? = null
/**
* @param value The maximum value.
*/
@JvmName("sqtfoqnwhsomxjdp")
public suspend fun max(`value`: Output) {
this.max = value
}
/**
* @param value The minimum value.
*/
@JvmName("huktcsynwtlthrmt")
public suspend fun min(`value`: Output) {
this.min = value
}
/**
* @param value The maximum value.
*/
@JvmName("nkcyqtkyhdbqklyn")
public suspend fun max(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.max = mapped
}
/**
* @param value The minimum value.
*/
@JvmName("vffmmlfpegrnkacq")
public suspend fun min(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.min = mapped
}
internal fun build(): AutoScalingGroupAcceleratorCountRequestArgs =
AutoScalingGroupAcceleratorCountRequestArgs(
max = max,
min = min,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy