
com.pulumi.awsnative.lambda.kotlin.outputs.FunctionImageConfig.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Configuration values that override the container image Dockerfile settings. For more information, see [Container image settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms).
* @property command Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
* @property entryPoint Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.
* @property workingDirectory Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
*/
public data class FunctionImageConfig(
public val command: List? = null,
public val entryPoint: List? = null,
public val workingDirectory: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lambda.outputs.FunctionImageConfig): FunctionImageConfig = FunctionImageConfig(
command = javaType.command().map({ args0 -> args0 }),
entryPoint = javaType.entryPoint().map({ args0 -> args0 }),
workingDirectory = javaType.workingDirectory().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy