com.pulumi.awsnative.amplify.kotlin.inputs.BranchBackendArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.amplify.kotlin.inputs
import com.pulumi.awsnative.amplify.inputs.BranchBackendArgs.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
/**
*
* @property stackArn The Amazon Resource Name (ARN) for the AWS CloudFormation stack.
*/
public data class BranchBackendArgs(
public val stackArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.amplify.inputs.BranchBackendArgs =
com.pulumi.awsnative.amplify.inputs.BranchBackendArgs.builder()
.stackArn(stackArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BranchBackendArgs].
*/
@PulumiTagMarker
public class BranchBackendArgsBuilder internal constructor() {
private var stackArn: Output? = null
/**
* @param value The Amazon Resource Name (ARN) for the AWS CloudFormation stack.
*/
@JvmName("ksblxcfgrhccoysy")
public suspend fun stackArn(`value`: Output) {
this.stackArn = value
}
/**
* @param value The Amazon Resource Name (ARN) for the AWS CloudFormation stack.
*/
@JvmName("vxqefyquwbxmhfgm")
public suspend fun stackArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.stackArn = mapped
}
internal fun build(): BranchBackendArgs = BranchBackendArgs(
stackArn = stackArn,
)
}