
com.pulumi.awsnative.ec2.kotlin.outputs.LaunchTemplateAcceleratorCount.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.ec2.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
* @property max The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set ``Max`` to ``0``.
* @property min The minimum number of accelerators. To specify no minimum limit, omit this parameter.
*/
public data class LaunchTemplateAcceleratorCount(
public val max: Int? = null,
public val min: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.LaunchTemplateAcceleratorCount): LaunchTemplateAcceleratorCount = LaunchTemplateAcceleratorCount(
max = javaType.max().map({ args0 -> args0 }).orElse(null),
min = javaType.min().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy