com.pulumi.aws.lambda.kotlin.inputs.FunctionImageConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.lambda.kotlin.inputs
import com.pulumi.aws.lambda.inputs.FunctionImageConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property commands Parameters that you want to pass in with `entry_point`.
* @property entryPoints Entry point to your application, which is typically the location of the runtime executable.
* @property workingDirectory Working directory.
*/
public data class FunctionImageConfigArgs(
public val commands: Output>? = null,
public val entryPoints: Output>? = null,
public val workingDirectory: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lambda.inputs.FunctionImageConfigArgs =
com.pulumi.aws.lambda.inputs.FunctionImageConfigArgs.builder()
.commands(commands?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.entryPoints(entryPoints?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.workingDirectory(workingDirectory?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FunctionImageConfigArgs].
*/
@PulumiTagMarker
public class FunctionImageConfigArgsBuilder internal constructor() {
private var commands: Output>? = null
private var entryPoints: Output>? = null
private var workingDirectory: Output? = null
/**
* @param value Parameters that you want to pass in with `entry_point`.
*/
@JvmName("tmoyfchxuasxqriw")
public suspend fun commands(`value`: Output>) {
this.commands = value
}
@JvmName("oyxqosikwbuxcppr")
public suspend fun commands(vararg values: Output) {
this.commands = Output.all(values.asList())
}
/**
* @param values Parameters that you want to pass in with `entry_point`.
*/
@JvmName("qbeqdhliwcnlqpgw")
public suspend fun commands(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy