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.aws.pipes.kotlin.inputs
import com.pulumi.aws.pipes.inputs.PipeTargetParametersBatchJobParametersContainerOverridesArgs.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 commands List of commands to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
* @property environments 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. You must also specify a container name. Detailed below.
* @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 a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU. Detailed below.
*/
public data class PipeTargetParametersBatchJobParametersContainerOverridesArgs(
public val commands: Output>? = null,
public val environments: Output>? = null,
public val instanceType: Output? = null,
public val resourceRequirements: Output>? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.pipes.inputs.PipeTargetParametersBatchJobParametersContainerOverridesArgs =
com.pulumi.aws.pipes.inputs.PipeTargetParametersBatchJobParametersContainerOverridesArgs.builder()
.commands(commands?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.environments(
environments?.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 [PipeTargetParametersBatchJobParametersContainerOverridesArgs].
*/
@PulumiTagMarker
public class PipeTargetParametersBatchJobParametersContainerOverridesArgsBuilder internal constructor() {
private var commands: Output>? = null
private var environments:
Output>? = null
private var instanceType: Output? = null
private var resourceRequirements:
Output>? =
null
/**
* @param value List of commands to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
*/
@JvmName("wnvyaeqiikabwskq")
public suspend fun commands(`value`: Output>) {
this.commands = value
}
@JvmName("egpprbeyetobrlle")
public suspend fun commands(vararg values: Output) {
this.commands = Output.all(values.asList())
}
/**
* @param values List of commands to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
*/
@JvmName("uxvflidawttquabi")
public suspend fun commands(values: List