Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.pipes.kotlin.inputs
import com.pulumi.awsnative.pipes.inputs.PipeBatchContainerOverridesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property command The command to send to the container that overrides the default command from the Docker image or the task definition.
* @property environment The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition.
* > Environment variables cannot start with " `AWS Batch` ". This naming convention is reserved for variables that AWS Batch sets.
* @property instanceType The instance type to use for a multi-node parallel job.
* > This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided.
* @property resourceRequirements The type and amount of resources to assign to a container. This overrides the settings in the job definition. The supported resources include `GPU` , `MEMORY` , and `VCPU` .
*/
public data class PipeBatchContainerOverridesArgs(
public val command: Output>? = null,
public val environment: Output>? = null,
public val instanceType: Output? = null,
public val resourceRequirements: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.pipes.inputs.PipeBatchContainerOverridesArgs =
com.pulumi.awsnative.pipes.inputs.PipeBatchContainerOverridesArgs.builder()
.command(command?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.environment(
environment?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.instanceType(instanceType?.applyValue({ args0 -> args0 }))
.resourceRequirements(
resourceRequirements?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [PipeBatchContainerOverridesArgs].
*/
@PulumiTagMarker
public class PipeBatchContainerOverridesArgsBuilder internal constructor() {
private var command: Output>? = null
private var environment: Output>? = null
private var instanceType: Output? = null
private var resourceRequirements: Output>? = null
/**
* @param value The command to send to the container that overrides the default command from the Docker image or the task definition.
*/
@JvmName("akxqnythkeafrohd")
public suspend fun command(`value`: Output>) {
this.command = value
}
@JvmName("bspeckhjmshdcrvv")
public suspend fun command(vararg values: Output) {
this.command = Output.all(values.asList())
}
/**
* @param values The command to send to the container that overrides the default command from the Docker image or the task definition.
*/
@JvmName("xrmsmjvvjwdqthlp")
public suspend fun command(values: List