All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ecs.kotlin.outputs.TaskDefinitionTmpfs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ecs.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * 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 TaskDefinitionTmpfs(
    public val containerPath: String? = null,
    public val mountOptions: List? = null,
    public val size: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ecs.outputs.TaskDefinitionTmpfs): TaskDefinitionTmpfs = TaskDefinitionTmpfs(
            containerPath = javaType.containerPath().map({ args0 -> args0 }).orElse(null),
            mountOptions = javaType.mountOptions().map({ args0 -> args0 }),
            size = javaType.size(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy