
com.pulumi.awsnative.ec2.kotlin.outputs.SpotFleetFleetLaunchTemplateSpecification.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property launchTemplateId The ID of the launch template.
* You must specify the `LaunchTemplateId` or the `LaunchTemplateName` , but not both.
* @property launchTemplateName The name of the launch template.
* You must specify the `LaunchTemplateName` or the `LaunchTemplateId` , but not both.
* @property version The version number of the launch template.
* Specifying `$Latest` or `$Default` for the template version number is not supported. However, you can specify `LatestVersionNumber` or `DefaultVersionNumber` using the `Fn::GetAtt` intrinsic function. For more information, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate-return-values-fn--getatt) .
*/
public data class SpotFleetFleetLaunchTemplateSpecification(
public val launchTemplateId: String? = null,
public val launchTemplateName: String? = null,
public val version: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.SpotFleetFleetLaunchTemplateSpecification): SpotFleetFleetLaunchTemplateSpecification = SpotFleetFleetLaunchTemplateSpecification(
launchTemplateId = javaType.launchTemplateId().map({ args0 -> args0 }).orElse(null),
launchTemplateName = javaType.launchTemplateName().map({ args0 -> args0 }).orElse(null),
version = javaType.version(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy