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

com.pulumi.aws.lambda.kotlin.inputs.FunctionImageConfigArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@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>) {
        this.commands = Output.all(values)
    }

    /**
     * @param value Entry point to your application, which is typically the location of the runtime executable.
     */
    @JvmName("ehcnpoiqevxtybpa")
    public suspend fun entryPoints(`value`: Output>) {
        this.entryPoints = value
    }

    @JvmName("enbbhejgewunbrdj")
    public suspend fun entryPoints(vararg values: Output) {
        this.entryPoints = Output.all(values.asList())
    }

    /**
     * @param values Entry point to your application, which is typically the location of the runtime executable.
     */
    @JvmName("cljfixtonohtvqjv")
    public suspend fun entryPoints(values: List>) {
        this.entryPoints = Output.all(values)
    }

    /**
     * @param value Working directory.
     */
    @JvmName("dspgixcuqiygqevs")
    public suspend fun workingDirectory(`value`: Output) {
        this.workingDirectory = value
    }

    /**
     * @param value Parameters that you want to pass in with `entry_point`.
     */
    @JvmName("raowqgrcoqidcscr")
    public suspend fun commands(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.commands = mapped
    }

    /**
     * @param values Parameters that you want to pass in with `entry_point`.
     */
    @JvmName("fheunwahoaqljrgj")
    public suspend fun commands(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.commands = mapped
    }

    /**
     * @param value Entry point to your application, which is typically the location of the runtime executable.
     */
    @JvmName("jjtgtvvoqcqahyqi")
    public suspend fun entryPoints(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.entryPoints = mapped
    }

    /**
     * @param values Entry point to your application, which is typically the location of the runtime executable.
     */
    @JvmName("slrvotuntgkrktbl")
    public suspend fun entryPoints(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.entryPoints = mapped
    }

    /**
     * @param value Working directory.
     */
    @JvmName("glgijpfkayivbhoq")
    public suspend fun workingDirectory(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.workingDirectory = mapped
    }

    internal fun build(): FunctionImageConfigArgs = FunctionImageConfigArgs(
        commands = commands,
        entryPoints = entryPoints,
        workingDirectory = workingDirectory,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy