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

com.pulumi.awsnative.greengrassv2.kotlin.outputs.ComponentVersionLambdaDeviceMount.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 component's system user as an owner of the device.
 * Default: `false`
 * @property path The mount path for the device in the file system.
 * @property permission The permission to access the device: read/only ( `ro` ) or read/write ( `rw` ).
 * Default: `ro`
 */
public data class ComponentVersionLambdaDeviceMount(
    public val addGroupOwner: Boolean? = null,
    public val path: String? = null,
    public val permission: ComponentVersionLambdaFilesystemPermission? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.greengrassv2.outputs.ComponentVersionLambdaDeviceMount): ComponentVersionLambdaDeviceMount = ComponentVersionLambdaDeviceMount(
            addGroupOwner = javaType.addGroupOwner().map({ args0 -> args0 }).orElse(null),
            path = javaType.path().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),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy