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

com.pulumi.awsnative.batch.kotlin.outputs.JobDefinitionDevice.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.batch.kotlin.outputs

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

/**
 *
 * @property containerPath The path inside the container that's used to expose the host device. By default, the `hostPath` value is used.
 * @property hostPath The path for the device on the host container instance.
 * @property permissions The explicit permissions to provide to the container for the device. By default, the container has permissions for `read` , `write` , and `mknod` for the device.
 */
public data class JobDefinitionDevice(
    public val containerPath: String? = null,
    public val hostPath: String? = null,
    public val permissions: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.batch.outputs.JobDefinitionDevice): JobDefinitionDevice = JobDefinitionDevice(
            containerPath = javaType.containerPath().map({ args0 -> args0 }).orElse(null),
            hostPath = javaType.hostPath().map({ args0 -> args0 }).orElse(null),
            permissions = javaType.permissions().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy