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

com.pulumi.awsnative.ec2.kotlin.inputs.LaunchTemplateLicenseSpecificationArgs.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.inputs

import com.pulumi.awsnative.ec2.inputs.LaunchTemplateLicenseSpecificationArgs.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

/**
 * Specifies a license configuration for an instance.
 *   ``LicenseSpecification`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html).
 * @property licenseConfigurationArn The Amazon Resource Name (ARN) of the license configuration.
 */
public data class LaunchTemplateLicenseSpecificationArgs(
    public val licenseConfigurationArn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.LaunchTemplateLicenseSpecificationArgs =
        com.pulumi.awsnative.ec2.inputs.LaunchTemplateLicenseSpecificationArgs.builder()
            .licenseConfigurationArn(licenseConfigurationArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LaunchTemplateLicenseSpecificationArgs].
 */
@PulumiTagMarker
public class LaunchTemplateLicenseSpecificationArgsBuilder internal constructor() {
    private var licenseConfigurationArn: Output? = null

    /**
     * @param value The Amazon Resource Name (ARN) of the license configuration.
     */
    @JvmName("ipjkmddyvbvuvqqy")
    public suspend fun licenseConfigurationArn(`value`: Output) {
        this.licenseConfigurationArn = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the license configuration.
     */
    @JvmName("wjiljtkstpxqvmnf")
    public suspend fun licenseConfigurationArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.licenseConfigurationArn = mapped
    }

    internal fun build(): LaunchTemplateLicenseSpecificationArgs =
        LaunchTemplateLicenseSpecificationArgs(
            licenseConfigurationArn = licenseConfigurationArn,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy