![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.imagebuilder.kotlin.inputs.DistributionConfigurationFastLaunchSnapshotConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.imagebuilder.kotlin.inputs
import com.pulumi.awsnative.imagebuilder.inputs.DistributionConfigurationFastLaunchSnapshotConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
* @property targetResourceCount The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
*/
public data class DistributionConfigurationFastLaunchSnapshotConfigurationArgs(
public val targetResourceCount: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.imagebuilder.inputs.DistributionConfigurationFastLaunchSnapshotConfigurationArgs =
com.pulumi.awsnative.imagebuilder.inputs.DistributionConfigurationFastLaunchSnapshotConfigurationArgs.builder()
.targetResourceCount(targetResourceCount?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DistributionConfigurationFastLaunchSnapshotConfigurationArgs].
*/
@PulumiTagMarker
public class DistributionConfigurationFastLaunchSnapshotConfigurationArgsBuilder internal constructor() {
private var targetResourceCount: Output? = null
/**
* @param value The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
*/
@JvmName("ygbbkpyjbgipgguk")
public suspend fun targetResourceCount(`value`: Output) {
this.targetResourceCount = value
}
/**
* @param value The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
*/
@JvmName("vpwlvkuvoydmnera")
public suspend fun targetResourceCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.targetResourceCount = mapped
}
internal fun build(): DistributionConfigurationFastLaunchSnapshotConfigurationArgs =
DistributionConfigurationFastLaunchSnapshotConfigurationArgs(
targetResourceCount = targetResourceCount,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy