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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ec2.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property defaultVersionNumber The default version of the launch template, such as 2.
 * The default version of a launch template cannot be specified in AWS CloudFormation . The default version can be set in the Amazon EC2 console or by using the `modify-launch-template` AWS CLI command.
 * @property latestVersionNumber The latest version of the launch template, such as `5` .
 * @property launchTemplateId The ID of the launch template.
 */
public data class GetLaunchTemplateResult(
    public val defaultVersionNumber: String? = null,
    public val latestVersionNumber: String? = null,
    public val launchTemplateId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetLaunchTemplateResult): GetLaunchTemplateResult = GetLaunchTemplateResult(
            defaultVersionNumber = javaType.defaultVersionNumber().map({ args0 -> args0 }).orElse(null),
            latestVersionNumber = javaType.latestVersionNumber().map({ args0 -> args0 }).orElse(null),
            launchTemplateId = javaType.launchTemplateId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy