![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cloudformation.kotlin.ModuleDefaultVersionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudformation.kotlin
import com.pulumi.awsnative.cloudformation.ModuleDefaultVersionArgs.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
/**
* A module that has been registered in the CloudFormation registry as the default version
* @property arn The Amazon Resource Name (ARN) of the module version to set as the default version.
* @property moduleName The name of a module existing in the registry.
* @property versionId The ID of an existing version of the named module to set as the default.
*/
public data class ModuleDefaultVersionArgs(
public val arn: Output? = null,
public val moduleName: Output? = null,
public val versionId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cloudformation.ModuleDefaultVersionArgs =
com.pulumi.awsnative.cloudformation.ModuleDefaultVersionArgs.builder()
.arn(arn?.applyValue({ args0 -> args0 }))
.moduleName(moduleName?.applyValue({ args0 -> args0 }))
.versionId(versionId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ModuleDefaultVersionArgs].
*/
@PulumiTagMarker
public class ModuleDefaultVersionArgsBuilder internal constructor() {
private var arn: Output? = null
private var moduleName: Output? = null
private var versionId: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the module version to set as the default version.
*/
@JvmName("mmauayaklufydbne")
public suspend fun arn(`value`: Output) {
this.arn = value
}
/**
* @param value The name of a module existing in the registry.
*/
@JvmName("kuqnmxiflrsxdteu")
public suspend fun moduleName(`value`: Output) {
this.moduleName = value
}
/**
* @param value The ID of an existing version of the named module to set as the default.
*/
@JvmName("hxgahekcflardgcd")
public suspend fun versionId(`value`: Output) {
this.versionId = value
}
/**
* @param value The Amazon Resource Name (ARN) of the module version to set as the default version.
*/
@JvmName("adculgvhuylpqoba")
public suspend fun arn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.arn = mapped
}
/**
* @param value The name of a module existing in the registry.
*/
@JvmName("kbswpwynsbuqhfgr")
public suspend fun moduleName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.moduleName = mapped
}
/**
* @param value The ID of an existing version of the named module to set as the default.
*/
@JvmName("eaotwlkkeuthcgta")
public suspend fun versionId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.versionId = mapped
}
internal fun build(): ModuleDefaultVersionArgs = ModuleDefaultVersionArgs(
arn = arn,
moduleName = moduleName,
versionId = versionId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy