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

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

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

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

import kotlin.Suppress
import kotlin.collections.List

/**
 * The configuration for the file system and kernels in a SageMaker image running as a KernelGateway app.
 * @property fileSystemConfig The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
 * @property kernelSpecs The specification of the Jupyter kernels in the image.
 */
public data class AppImageConfigKernelGatewayImageConfig(
    public val fileSystemConfig: AppImageConfigFileSystemConfig? = null,
    public val kernelSpecs: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.AppImageConfigKernelGatewayImageConfig): AppImageConfigKernelGatewayImageConfig = AppImageConfigKernelGatewayImageConfig(
            fileSystemConfig = javaType.fileSystemConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.AppImageConfigFileSystemConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            kernelSpecs = javaType.kernelSpecs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.AppImageConfigKernelSpec.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy