com.pulumi.awsnative.sagemaker.kotlin.AppImageConfigArgs.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
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
import com.pulumi.awsnative.sagemaker.AppImageConfigArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.AppImageConfigCodeEditorAppImageConfigArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.AppImageConfigCodeEditorAppImageConfigArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.AppImageConfigJupyterLabAppImageConfigArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.AppImageConfigJupyterLabAppImageConfigArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.AppImageConfigKernelGatewayImageConfigArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.AppImageConfigKernelGatewayImageConfigArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::SageMaker::AppImageConfig
* @property appImageConfigName The Name of the AppImageConfig.
* @property codeEditorAppImageConfig The CodeEditorAppImageConfig.
* @property jupyterLabAppImageConfig The JupyterLabAppImageConfig.
* @property kernelGatewayImageConfig The KernelGatewayImageConfig.
* @property tags A list of tags to apply to the AppImageConfig.
*/
public data class AppImageConfigArgs(
public val appImageConfigName: Output? = null,
public val codeEditorAppImageConfig: Output? = null,
public val jupyterLabAppImageConfig: Output? = null,
public val kernelGatewayImageConfig: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.AppImageConfigArgs =
com.pulumi.awsnative.sagemaker.AppImageConfigArgs.builder()
.appImageConfigName(appImageConfigName?.applyValue({ args0 -> args0 }))
.codeEditorAppImageConfig(
codeEditorAppImageConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.jupyterLabAppImageConfig(
jupyterLabAppImageConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.kernelGatewayImageConfig(
kernelGatewayImageConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AppImageConfigArgs].
*/
@PulumiTagMarker
public class AppImageConfigArgsBuilder internal constructor() {
private var appImageConfigName: Output? = null
private var codeEditorAppImageConfig: Output? = null
private var jupyterLabAppImageConfig: Output? = null
private var kernelGatewayImageConfig: Output? = null
private var tags: Output>? = null
/**
* @param value The Name of the AppImageConfig.
*/
@JvmName("ybihxokrsknbhqtp")
public suspend fun appImageConfigName(`value`: Output) {
this.appImageConfigName = value
}
/**
* @param value The CodeEditorAppImageConfig.
*/
@JvmName("nsocoreihrpvgyyc")
public suspend fun codeEditorAppImageConfig(`value`: Output) {
this.codeEditorAppImageConfig = value
}
/**
* @param value The JupyterLabAppImageConfig.
*/
@JvmName("ncmgkhvnckbuuwvf")
public suspend fun jupyterLabAppImageConfig(`value`: Output) {
this.jupyterLabAppImageConfig = value
}
/**
* @param value The KernelGatewayImageConfig.
*/
@JvmName("efanqoyyfmlipvfn")
public suspend fun kernelGatewayImageConfig(`value`: Output) {
this.kernelGatewayImageConfig = value
}
/**
* @param value A list of tags to apply to the AppImageConfig.
*/
@JvmName("teohdnrqffidsiml")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("xopghjvccsfpjqtg")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A list of tags to apply to the AppImageConfig.
*/
@JvmName("qyncnscuxpocsufx")
public suspend fun tags(values: List