
com.pulumi.awsnative.sagemaker.kotlin.inputs.AppImageConfigKernelGatewayImageConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.AppImageConfigKernelGatewayImageConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* 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 AppImageConfigKernelGatewayImageConfigArgs(
public val fileSystemConfig: Output? = null,
public val kernelSpecs: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.AppImageConfigKernelGatewayImageConfigArgs =
com.pulumi.awsnative.sagemaker.inputs.AppImageConfigKernelGatewayImageConfigArgs.builder()
.fileSystemConfig(fileSystemConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.kernelSpecs(
kernelSpecs.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AppImageConfigKernelGatewayImageConfigArgs].
*/
@PulumiTagMarker
public class AppImageConfigKernelGatewayImageConfigArgsBuilder internal constructor() {
private var fileSystemConfig: Output? = null
private var kernelSpecs: Output>? = null
/**
* @param value The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
*/
@JvmName("hvonipcneqisqbqa")
public suspend fun fileSystemConfig(`value`: Output) {
this.fileSystemConfig = value
}
/**
* @param value The specification of the Jupyter kernels in the image.
*/
@JvmName("mxgjmbajymicqxmr")
public suspend fun kernelSpecs(`value`: Output>) {
this.kernelSpecs = value
}
@JvmName("mwuifagqnnfecpuq")
public suspend fun kernelSpecs(vararg values: Output) {
this.kernelSpecs = Output.all(values.asList())
}
/**
* @param values The specification of the Jupyter kernels in the image.
*/
@JvmName("mjdfshbbfxoiojsd")
public suspend fun kernelSpecs(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy