
com.pulumi.awsnative.sagemaker.kotlin.outputs.SpaceSettings.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.outputs
import com.pulumi.awsnative.sagemaker.kotlin.enums.SpaceAppType
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 CreateSpace API is called.
* @property appType The type of app created within the space.
* @property codeEditorAppSettings The CodeEditor app settings.
* @property customFileSystems A file system, created by you, that you assign to a space for an Amazon SageMaker Domain. Permitted users can access this file system in Amazon SageMaker Studio.
* @property jupyterLabAppSettings The JupyterLab app settings.
* @property jupyterServerAppSettings The Jupyter server's app settings.
* @property kernelGatewayAppSettings The kernel gateway app settings.
* @property spaceStorageSettings Default storage settings for a space.
*/
public data class SpaceSettings(
public val appType: SpaceAppType? = null,
public val codeEditorAppSettings: SpaceCodeEditorAppSettings? = null,
public val customFileSystems: List? = null,
public val jupyterLabAppSettings: SpaceJupyterLabAppSettings? = null,
public val jupyterServerAppSettings: SpaceJupyterServerAppSettings? = null,
public val kernelGatewayAppSettings: SpaceKernelGatewayAppSettings? = null,
public val spaceStorageSettings: SpaceStorageSettings? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.SpaceSettings): SpaceSettings = SpaceSettings(
appType = javaType.appType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.enums.SpaceAppType.Companion.toKotlin(args0)
})
}).orElse(null),
codeEditorAppSettings = javaType.codeEditorAppSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.SpaceCodeEditorAppSettings.Companion.toKotlin(args0)
})
}).orElse(null),
customFileSystems = javaType.customFileSystems().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.SpaceCustomFileSystem.Companion.toKotlin(args0)
})
}),
jupyterLabAppSettings = javaType.jupyterLabAppSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.SpaceJupyterLabAppSettings.Companion.toKotlin(args0)
})
}).orElse(null),
jupyterServerAppSettings = javaType.jupyterServerAppSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.SpaceJupyterServerAppSettings.Companion.toKotlin(args0)
})
}).orElse(null),
kernelGatewayAppSettings = javaType.kernelGatewayAppSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.SpaceKernelGatewayAppSettings.Companion.toKotlin(args0)
})
}).orElse(null),
spaceStorageSettings = javaType.spaceStorageSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.SpaceStorageSettings.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy