
com.pulumi.awsnative.ecs.kotlin.inputs.TaskDefinitionTmpfsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
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.ecs.kotlin.inputs
import com.pulumi.awsnative.ecs.inputs.TaskDefinitionTmpfsArgs.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 kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The container path, mount options, and size of the tmpfs mount.
* @property containerPath The absolute file path where the tmpfs volume is to be mounted.
* @property mountOptions The list of tmpfs volume mount options.
* Valid values: ``"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"``
* @property size The maximum size (in MiB) of the tmpfs volume.
*/
public data class TaskDefinitionTmpfsArgs(
public val containerPath: Output? = null,
public val mountOptions: Output>? = null,
public val size: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ecs.inputs.TaskDefinitionTmpfsArgs =
com.pulumi.awsnative.ecs.inputs.TaskDefinitionTmpfsArgs.builder()
.containerPath(containerPath?.applyValue({ args0 -> args0 }))
.mountOptions(mountOptions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.size(size.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TaskDefinitionTmpfsArgs].
*/
@PulumiTagMarker
public class TaskDefinitionTmpfsArgsBuilder internal constructor() {
private var containerPath: Output? = null
private var mountOptions: Output>? = null
private var size: Output? = null
/**
* @param value The absolute file path where the tmpfs volume is to be mounted.
*/
@JvmName("pqtxpagpyurcxruq")
public suspend fun containerPath(`value`: Output) {
this.containerPath = value
}
/**
* @param value The list of tmpfs volume mount options.
* Valid values: ``"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"``
*/
@JvmName("polfiokquxlahagh")
public suspend fun mountOptions(`value`: Output>) {
this.mountOptions = value
}
@JvmName("ivggaafvqosapbyq")
public suspend fun mountOptions(vararg values: Output) {
this.mountOptions = Output.all(values.asList())
}
/**
* @param values The list of tmpfs volume mount options.
* Valid values: ``"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"``
*/
@JvmName("yrywgjiyuyvcjjxk")
public suspend fun mountOptions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy