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

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

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

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

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

/**
 * The ``Device`` property specifies an object representing a container instance host device.
 * @property containerPath The path inside the container at which to expose the host device.
 * @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 TaskDefinitionDevice(
    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.ecs.outputs.TaskDefinitionDevice): TaskDefinitionDevice = TaskDefinitionDevice(
            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