All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.greengrassv2.kotlin.outputs.ComponentVersionLambdaLinuxProcessParams.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.greengrassv2.kotlin.outputs

import com.pulumi.awsnative.greengrassv2.kotlin.enums.ComponentVersionLambdaLinuxProcessParamsIsolationMode
import kotlin.Suppress

/**
 *
 * @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 ComponentVersionLambdaLinuxProcessParams(
    public val containerParams: ComponentVersionLambdaContainerParams? = null,
    public val isolationMode: ComponentVersionLambdaLinuxProcessParamsIsolationMode? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.greengrassv2.outputs.ComponentVersionLambdaLinuxProcessParams): ComponentVersionLambdaLinuxProcessParams = ComponentVersionLambdaLinuxProcessParams(
            containerParams = javaType.containerParams().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.greengrassv2.kotlin.outputs.ComponentVersionLambdaContainerParams.Companion.toKotlin(args0)
                })
            }).orElse(null),
            isolationMode = javaType.isolationMode().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.greengrassv2.kotlin.enums.ComponentVersionLambdaLinuxProcessParamsIsolationMode.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy