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

com.pulumi.awsnative.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lambda.kotlin.inputs

import com.pulumi.awsnative.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

/**
 * 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 FunctionImageConfigArgs(
    public val command: Output>? = null,
    public val entryPoint: Output>? = null,
    public val workingDirectory: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.lambda.inputs.FunctionImageConfigArgs =
        com.pulumi.awsnative.lambda.inputs.FunctionImageConfigArgs.builder()
            .command(command?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .entryPoint(entryPoint?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .workingDirectory(workingDirectory?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FunctionImageConfigArgs].
 */
@PulumiTagMarker
public class FunctionImageConfigArgsBuilder internal constructor() {
    private var command: Output>? = null

    private var entryPoint: Output>? = null

    private var workingDirectory: Output? = null

    /**
     * @param value Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
     */
    @JvmName("jcbbhbqdkaamvmnh")
    public suspend fun command(`value`: Output>) {
        this.command = value
    }

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

    /**
     * @param values Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
     */
    @JvmName("huompnqkhfssclgg")
    public suspend fun command(values: List>) {
        this.command = Output.all(values)
    }

    /**
     * @param value 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.
     */
    @JvmName("bciahsuwagmpkukk")
    public suspend fun entryPoint(`value`: Output>) {
        this.entryPoint = value
    }

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

    /**
     * @param values 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.
     */
    @JvmName("aavkacqofvobqkso")
    public suspend fun entryPoint(values: List>) {
        this.entryPoint = Output.all(values)
    }

    /**
     * @param value Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
     */
    @JvmName("tknauyqedwwkvvfk")
    public suspend fun workingDirectory(`value`: Output) {
        this.workingDirectory = value
    }

    /**
     * @param value Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
     */
    @JvmName("sfweokqttgrjlbma")
    public suspend fun command(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.command = mapped
    }

    /**
     * @param values Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.
     */
    @JvmName("bcoffxcxglqsijks")
    public suspend fun command(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.command = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("dwitvcdbbghjunsw")
    public suspend fun entryPoint(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.entryPoint = mapped
    }

    /**
     * @param values 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.
     */
    @JvmName("xuexyviqvlrrmpmt")
    public suspend fun entryPoint(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.entryPoint = mapped
    }

    /**
     * @param value Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.
     */
    @JvmName("veqluwsfyjyjfply")
    public suspend fun workingDirectory(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.workingDirectory = mapped
    }

    internal fun build(): FunctionImageConfigArgs = FunctionImageConfigArgs(
        command = command,
        entryPoint = entryPoint,
        workingDirectory = workingDirectory,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy