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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 * Specifies the credit option for CPU usage of a T2, T3, or T3a instance.
 *   ``CreditSpecification`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html).
 * @property cpuCredits The credit option for CPU usage of a T instance.
 *  Valid values: ``standard`` | ``unlimited``
 */
public data class LaunchTemplateCreditSpecification(
    public val cpuCredits: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.LaunchTemplateCreditSpecification): LaunchTemplateCreditSpecification = LaunchTemplateCreditSpecification(
            cpuCredits = javaType.cpuCredits().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy