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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.batch.kotlin.inputs
import com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesContainersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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 args Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
* @property commands Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.
* @property envs Environment variables to pass to a container. See EKS Environment below.
* @property image Docker image used to start the container.
* @property imagePullPolicy Image pull policy for the container. Supported values are `Always`, `IfNotPresent`, and `Never`.
* @property name Name of the container. If the name isn't specified, the default name "Default" is used. Each container in a pod must have a unique name.
* @property resources Type and amount of resources to assign to a container. The supported resources include `memory`, `cpu`, and `nvidia.com/gpu`.
* @property securityContext Security context for a job.
* @property volumeMounts Volume mounts for the container.
*/
public data class JobDefinitionEksPropertiesPodPropertiesContainersArgs(
public val args: Output>? = null,
public val commands: Output>? = null,
public val envs: Output>? = null,
public val image: Output,
public val imagePullPolicy: Output? = null,
public val name: Output? = null,
public val resources: Output? =
null,
public val securityContext: Output? = null,
public val volumeMounts: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesContainersArgs =
com.pulumi.aws.batch.inputs.JobDefinitionEksPropertiesPodPropertiesContainersArgs.builder()
.args(args?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.commands(commands?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.envs(envs?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.image(image.applyValue({ args0 -> args0 }))
.imagePullPolicy(imagePullPolicy?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.resources(resources?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.securityContext(securityContext?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.volumeMounts(
volumeMounts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [JobDefinitionEksPropertiesPodPropertiesContainersArgs].
*/
@PulumiTagMarker
public class JobDefinitionEksPropertiesPodPropertiesContainersArgsBuilder internal constructor() {
private var args: Output>? = null
private var commands: Output>? = null
private var envs: Output>? = null
private var image: Output? = null
private var imagePullPolicy: Output? = null
private var name: Output? = null
private var resources: Output? =
null
private var securityContext:
Output? = null
private var volumeMounts:
Output>? = null
/**
* @param value Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
*/
@JvmName("xybqmjjqrmowltbi")
public suspend fun args(`value`: Output>) {
this.args = value
}
@JvmName("smntdihniooypaiu")
public suspend fun args(vararg values: Output) {
this.args = Output.all(values.asList())
}
/**
* @param values Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
*/
@JvmName("nkwgudxwmhgiogqy")
public suspend fun args(values: List