All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ec2.kotlin.outputs.InstanceLaunchTemplateSpecification.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@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 LaunchTemplateName or the LaunchTemplateId, 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.
 */
public data class InstanceLaunchTemplateSpecification(
    public val launchTemplateId: String? = null,
    public val launchTemplateName: String? = null,
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.InstanceLaunchTemplateSpecification): InstanceLaunchTemplateSpecification = InstanceLaunchTemplateSpecification(
            launchTemplateId = javaType.launchTemplateId().map({ args0 -> args0 }).orElse(null),
            launchTemplateName = javaType.launchTemplateName().map({ args0 -> args0 }).orElse(null),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy