![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.batch.kotlin.inputs.JobDefinitionEksEmptyDirArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.batch.kotlin.inputs
import com.pulumi.awsnative.batch.inputs.JobDefinitionEksEmptyDirArgs.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.jvm.JvmName
/**
*
* @property medium The medium to store the volume. The default value is an empty string, which uses the storage of the node.
* - **""** - *(Default)* Use the disk storage of the node.
* - **"Memory"** - Use the `tmpfs` volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit.
* @property sizeLimit The maximum size of the volume. By default, there's no maximum size defined.
*/
public data class JobDefinitionEksEmptyDirArgs(
public val medium: Output? = null,
public val sizeLimit: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.batch.inputs.JobDefinitionEksEmptyDirArgs =
com.pulumi.awsnative.batch.inputs.JobDefinitionEksEmptyDirArgs.builder()
.medium(medium?.applyValue({ args0 -> args0 }))
.sizeLimit(sizeLimit?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobDefinitionEksEmptyDirArgs].
*/
@PulumiTagMarker
public class JobDefinitionEksEmptyDirArgsBuilder internal constructor() {
private var medium: Output? = null
private var sizeLimit: Output? = null
/**
* @param value The medium to store the volume. The default value is an empty string, which uses the storage of the node.
* - **""** - *(Default)* Use the disk storage of the node.
* - **"Memory"** - Use the `tmpfs` volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit.
*/
@JvmName("pwteylrmnuvpbweb")
public suspend fun medium(`value`: Output) {
this.medium = value
}
/**
* @param value The maximum size of the volume. By default, there's no maximum size defined.
*/
@JvmName("yxknycrukkthkctc")
public suspend fun sizeLimit(`value`: Output) {
this.sizeLimit = value
}
/**
* @param value The medium to store the volume. The default value is an empty string, which uses the storage of the node.
* - **""** - *(Default)* Use the disk storage of the node.
* - **"Memory"** - Use the `tmpfs` volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit.
*/
@JvmName("muffosvoqnoljpxt")
public suspend fun medium(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.medium = mapped
}
/**
* @param value The maximum size of the volume. By default, there's no maximum size defined.
*/
@JvmName("ddjhvdkoigdukasu")
public suspend fun sizeLimit(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sizeLimit = mapped
}
internal fun build(): JobDefinitionEksEmptyDirArgs = JobDefinitionEksEmptyDirArgs(
medium = medium,
sizeLimit = sizeLimit,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy