![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lambda.kotlin.inputs.GetFunctionPlainArgs.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.lambda.kotlin.inputs
import com.pulumi.awsnative.lambda.inputs.GetFunctionPlainArgs.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 functionName The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one.
* If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
*/
public data class GetFunctionPlainArgs(
public val functionName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lambda.inputs.GetFunctionPlainArgs =
com.pulumi.awsnative.lambda.inputs.GetFunctionPlainArgs.builder()
.functionName(functionName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetFunctionPlainArgs].
*/
@PulumiTagMarker
public class GetFunctionPlainArgsBuilder internal constructor() {
private var functionName: String? = null
/**
* @param value The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one.
* If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
*/
@JvmName("pghnxuouddolsawt")
public suspend fun functionName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.functionName = mapped
}
internal fun build(): GetFunctionPlainArgs = GetFunctionPlainArgs(
functionName = functionName ?: throw PulumiNullFieldException("functionName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy