
com.pulumi.awsnative.batch.kotlin.outputs.JobDefinitionEksContainerVolumeMount.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.batch.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property mountPath The path on the container where the volume is mounted.
* @property name The name the volume mount. This must match the name of one of the volumes in the pod.
* @property readOnly If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` .
*/
public data class JobDefinitionEksContainerVolumeMount(
public val mountPath: String? = null,
public val name: String? = null,
public val readOnly: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.batch.outputs.JobDefinitionEksContainerVolumeMount): JobDefinitionEksContainerVolumeMount = JobDefinitionEksContainerVolumeMount(
mountPath = javaType.mountPath().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
readOnly = javaType.readOnly().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy