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

com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainDefaultSpaceSettings.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.sagemaker.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of settings that apply to spaces of Amazon SageMaker Studio. These settings are specified when the Create/Update Domain API is called.
 * @property customFileSystemConfigs The settings for assigning a custom file system to a domain. Permitted users can access this file system in Amazon SageMaker Studio.
 * @property customPosixUserConfig The Jupyter lab's custom posix user configurations.
 * @property executionRole The execution role for the space.
 * @property jupyterLabAppSettings The Jupyter lab's app settings.
 * @property jupyterServerAppSettings The Jupyter server's app settings.
 * @property kernelGatewayAppSettings The kernel gateway app settings.
 * @property securityGroups The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
 * @property spaceStorageSettings The Jupyter lab's space storage settings.
 */
public data class DomainDefaultSpaceSettings(
    public val customFileSystemConfigs: List? = null,
    public val customPosixUserConfig: DomainCustomPosixUserConfig? = null,
    public val executionRole: String,
    public val jupyterLabAppSettings: DomainJupyterLabAppSettings? = null,
    public val jupyterServerAppSettings: DomainJupyterServerAppSettings? = null,
    public val kernelGatewayAppSettings: DomainKernelGatewayAppSettings? = null,
    public val securityGroups: List? = null,
    public val spaceStorageSettings: DomainDefaultSpaceStorageSettings? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.DomainDefaultSpaceSettings): DomainDefaultSpaceSettings = DomainDefaultSpaceSettings(
            customFileSystemConfigs = javaType.customFileSystemConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainCustomFileSystemConfig.Companion.toKotlin(args0)
                })
            }),
            customPosixUserConfig = javaType.customPosixUserConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainCustomPosixUserConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            executionRole = javaType.executionRole(),
            jupyterLabAppSettings = javaType.jupyterLabAppSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainJupyterLabAppSettings.Companion.toKotlin(args0)
                })
            }).orElse(null),
            jupyterServerAppSettings = javaType.jupyterServerAppSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainJupyterServerAppSettings.Companion.toKotlin(args0)
                })
            }).orElse(null),
            kernelGatewayAppSettings = javaType.kernelGatewayAppSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainKernelGatewayAppSettings.Companion.toKotlin(args0)
                })
            }).orElse(null),
            securityGroups = javaType.securityGroups().map({ args0 -> args0 }),
            spaceStorageSettings = javaType.spaceStorageSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainDefaultSpaceStorageSettings.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy