com.pulumi.awsnative.s3objectlambda.kotlin.inputs.AccessPointAwsLambdaArgs.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.s3objectlambda.kotlin.inputs
import com.pulumi.awsnative.s3objectlambda.inputs.AccessPointAwsLambdaArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 functionArn
* @property functionPayload
*/
public data class AccessPointAwsLambdaArgs(
public val functionArn: Output,
public val functionPayload: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.s3objectlambda.inputs.AccessPointAwsLambdaArgs =
com.pulumi.awsnative.s3objectlambda.inputs.AccessPointAwsLambdaArgs.builder()
.functionArn(functionArn.applyValue({ args0 -> args0 }))
.functionPayload(functionPayload?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccessPointAwsLambdaArgs].
*/
@PulumiTagMarker
public class AccessPointAwsLambdaArgsBuilder internal constructor() {
private var functionArn: Output? = null
private var functionPayload: Output? = null
/**
* @param value
*/
@JvmName("wepwnkwmvhaxqchn")
public suspend fun functionArn(`value`: Output) {
this.functionArn = value
}
/**
* @param value
*/
@JvmName("uitfwgfktdgldqmm")
public suspend fun functionPayload(`value`: Output) {
this.functionPayload = value
}
/**
* @param value
*/
@JvmName("qgfrplfsljoimwns")
public suspend fun functionArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.functionArn = mapped
}
/**
* @param value
*/
@JvmName("akufcsgdsudkxtsv")
public suspend fun functionPayload(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.functionPayload = mapped
}
internal fun build(): AccessPointAwsLambdaArgs = AccessPointAwsLambdaArgs(
functionArn = functionArn ?: throw PulumiNullFieldException("functionArn"),
functionPayload = functionPayload,
)
}