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

com.pulumi.awsnative.sagemaker.kotlin.inputs.AppImageConfigFileSystemConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.AppImageConfigFileSystemConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
 * @property defaultGid The default POSIX group ID (GID). If not specified, defaults to 100.
 * @property defaultUid The default POSIX user ID (UID). If not specified, defaults to 1000.
 * @property mountPath The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to /home/sagemaker-user.
 */
public data class AppImageConfigFileSystemConfigArgs(
    public val defaultGid: Output? = null,
    public val defaultUid: Output? = null,
    public val mountPath: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.AppImageConfigFileSystemConfigArgs =
        com.pulumi.awsnative.sagemaker.inputs.AppImageConfigFileSystemConfigArgs.builder()
            .defaultGid(defaultGid?.applyValue({ args0 -> args0 }))
            .defaultUid(defaultUid?.applyValue({ args0 -> args0 }))
            .mountPath(mountPath?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AppImageConfigFileSystemConfigArgs].
 */
@PulumiTagMarker
public class AppImageConfigFileSystemConfigArgsBuilder internal constructor() {
    private var defaultGid: Output? = null

    private var defaultUid: Output? = null

    private var mountPath: Output? = null

    /**
     * @param value The default POSIX group ID (GID). If not specified, defaults to 100.
     */
    @JvmName("tfhgyhtbwglyktau")
    public suspend fun defaultGid(`value`: Output) {
        this.defaultGid = value
    }

    /**
     * @param value The default POSIX user ID (UID). If not specified, defaults to 1000.
     */
    @JvmName("ivfutlpjrnxxbtjx")
    public suspend fun defaultUid(`value`: Output) {
        this.defaultUid = value
    }

    /**
     * @param value The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to /home/sagemaker-user.
     */
    @JvmName("wqhdarocnmcxxulu")
    public suspend fun mountPath(`value`: Output) {
        this.mountPath = value
    }

    /**
     * @param value The default POSIX group ID (GID). If not specified, defaults to 100.
     */
    @JvmName("nmkqfyosyjsuassx")
    public suspend fun defaultGid(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultGid = mapped
    }

    /**
     * @param value The default POSIX user ID (UID). If not specified, defaults to 1000.
     */
    @JvmName("lcilfitgkuwkbgkg")
    public suspend fun defaultUid(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultUid = mapped
    }

    /**
     * @param value The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to /home/sagemaker-user.
     */
    @JvmName("chacrtgaduwteklx")
    public suspend fun mountPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mountPath = mapped
    }

    internal fun build(): AppImageConfigFileSystemConfigArgs = AppImageConfigFileSystemConfigArgs(
        defaultGid = defaultGid,
        defaultUid = defaultUid,
        mountPath = mountPath,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy