![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ecs.kotlin.outputs.TaskDefinitionVolumeFrom.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ecs.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* Details on a data volume from another container in the same task definition.
* @property readOnly If this value is ``true``, the container has read-only access to the volume. If this value is ``false``, then the container can write to the volume. The default value is ``false``.
* @property sourceContainer The name of another container within the same task definition to mount volumes from.
*/
public data class TaskDefinitionVolumeFrom(
public val readOnly: Boolean? = null,
public val sourceContainer: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ecs.outputs.TaskDefinitionVolumeFrom): TaskDefinitionVolumeFrom = TaskDefinitionVolumeFrom(
readOnly = javaType.readOnly().map({ args0 -> args0 }).orElse(null),
sourceContainer = javaType.sourceContainer().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy