com.pulumi.awsnative.lambda.kotlin.inputs.GetAliasPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lambda.kotlin.inputs
import com.pulumi.awsnative.lambda.inputs.GetAliasPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property aliasArn Lambda Alias ARN generated by the service.
*/
public data class GetAliasPlainArgs(
public val aliasArn: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lambda.inputs.GetAliasPlainArgs =
com.pulumi.awsnative.lambda.inputs.GetAliasPlainArgs.builder()
.aliasArn(aliasArn.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetAliasPlainArgs].
*/
@PulumiTagMarker
public class GetAliasPlainArgsBuilder internal constructor() {
private var aliasArn: String? = null
/**
* @param value Lambda Alias ARN generated by the service.
*/
@JvmName("bdyhslfjdaykycur")
public suspend fun aliasArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.aliasArn = mapped
}
internal fun build(): GetAliasPlainArgs = GetAliasPlainArgs(
aliasArn = aliasArn ?: throw PulumiNullFieldException("aliasArn"),
)
}