![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.outputs.LaunchTemplateElasticInferenceAccelerator.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Specifies an elastic inference accelerator.
* ``LaunchTemplateElasticInferenceAccelerator`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html).
* @property count The number of elastic inference accelerators to attach to the instance.
* Default: 1
* @property type The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
*/
public data class LaunchTemplateElasticInferenceAccelerator(
public val count: Int? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.LaunchTemplateElasticInferenceAccelerator): LaunchTemplateElasticInferenceAccelerator = LaunchTemplateElasticInferenceAccelerator(
count = javaType.count().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy