
com.pulumi.awsnative.greengrassv2.kotlin.inputs.ComponentVersionLambdaLinuxProcessParamsArgs.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.greengrassv2.kotlin.inputs
import com.pulumi.awsnative.greengrassv2.inputs.ComponentVersionLambdaLinuxProcessParamsArgs.builder
import com.pulumi.awsnative.greengrassv2.kotlin.enums.ComponentVersionLambdaLinuxProcessParamsIsolationMode
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property containerParams The parameters for the container in which the Lambda function runs.
* @property isolationMode The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container.
* Default: `GreengrassContainer`
*/
public data class ComponentVersionLambdaLinuxProcessParamsArgs(
public val containerParams: Output? = null,
public val isolationMode: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.greengrassv2.inputs.ComponentVersionLambdaLinuxProcessParamsArgs =
com.pulumi.awsnative.greengrassv2.inputs.ComponentVersionLambdaLinuxProcessParamsArgs.builder()
.containerParams(containerParams?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.isolationMode(isolationMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ComponentVersionLambdaLinuxProcessParamsArgs].
*/
@PulumiTagMarker
public class ComponentVersionLambdaLinuxProcessParamsArgsBuilder internal constructor() {
private var containerParams: Output? = null
private var isolationMode: Output? = null
/**
* @param value The parameters for the container in which the Lambda function runs.
*/
@JvmName("wlfgllykimpvevvy")
public suspend fun containerParams(`value`: Output) {
this.containerParams = value
}
/**
* @param value The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container.
* Default: `GreengrassContainer`
*/
@JvmName("tufttogtfsdyxqjj")
public suspend fun isolationMode(`value`: Output) {
this.isolationMode = value
}
/**
* @param value The parameters for the container in which the Lambda function runs.
*/
@JvmName("jklkoidgfvilutjt")
public suspend fun containerParams(`value`: ComponentVersionLambdaContainerParamsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.containerParams = mapped
}
/**
* @param argument The parameters for the container in which the Lambda function runs.
*/
@JvmName("kdtjoqaxouioyokc")
public suspend fun containerParams(argument: suspend ComponentVersionLambdaContainerParamsArgsBuilder.() -> Unit) {
val toBeMapped = ComponentVersionLambdaContainerParamsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.containerParams = mapped
}
/**
* @param value The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container.
* Default: `GreengrassContainer`
*/
@JvmName("paffmlsugorhidmv")
public suspend fun isolationMode(`value`: ComponentVersionLambdaLinuxProcessParamsIsolationMode?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isolationMode = mapped
}
internal fun build(): ComponentVersionLambdaLinuxProcessParamsArgs =
ComponentVersionLambdaLinuxProcessParamsArgs(
containerParams = containerParams,
isolationMode = isolationMode,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy