
com.pulumi.awsnative.ec2.kotlin.inputs.LaunchTemplateElasticGpuSpecificationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.inputs
import com.pulumi.awsnative.ec2.inputs.LaunchTemplateElasticGpuSpecificationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
* Specifies a specification for an Elastic GPU for an Amazon EC2 launch template.
* ``ElasticGpuSpecification`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html).
* @property type The type of Elastic Graphics accelerator.
*/
public data class LaunchTemplateElasticGpuSpecificationArgs(
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.inputs.LaunchTemplateElasticGpuSpecificationArgs =
com.pulumi.awsnative.ec2.inputs.LaunchTemplateElasticGpuSpecificationArgs.builder()
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LaunchTemplateElasticGpuSpecificationArgs].
*/
@PulumiTagMarker
public class LaunchTemplateElasticGpuSpecificationArgsBuilder internal constructor() {
private var type: Output? = null
/**
* @param value The type of Elastic Graphics accelerator.
*/
@JvmName("eqthmbtrjphkyqwt")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The type of Elastic Graphics accelerator.
*/
@JvmName("mcumklttoxnvrjks")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): LaunchTemplateElasticGpuSpecificationArgs =
LaunchTemplateElasticGpuSpecificationArgs(
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy