
com.pulumi.awsnative.greengrassv2.kotlin.outputs.ComponentVersionLambdaVolumeMount.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.greengrassv2.kotlin.outputs
import com.pulumi.awsnative.greengrassv2.kotlin.enums.ComponentVersionLambdaFilesystemPermission
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property addGroupOwner Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.
* Default: `false`
* @property destinationPath The path to the logical volume in the file system.
* @property permission The permission to access the volume: read/only ( `ro` ) or read/write ( `rw` ).
* Default: `ro`
* @property sourcePath The path to the physical volume in the file system.
*/
public data class ComponentVersionLambdaVolumeMount(
public val addGroupOwner: Boolean? = null,
public val destinationPath: String? = null,
public val permission: ComponentVersionLambdaFilesystemPermission? = null,
public val sourcePath: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.greengrassv2.outputs.ComponentVersionLambdaVolumeMount): ComponentVersionLambdaVolumeMount = ComponentVersionLambdaVolumeMount(
addGroupOwner = javaType.addGroupOwner().map({ args0 -> args0 }).orElse(null),
destinationPath = javaType.destinationPath().map({ args0 -> args0 }).orElse(null),
permission = javaType.permission().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.greengrassv2.kotlin.enums.ComponentVersionLambdaFilesystemPermission.Companion.toKotlin(args0)
})
}).orElse(null),
sourcePath = javaType.sourcePath().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy